Search source text for six named JavaScript or Python bug patterns while making no claim of full static analysis.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
JavaScript mode looks for assignment inside if, async callbacks passed to forEach, and loose equality; Python mode looks for bare except, an empty-list default, and identity against a literal. These are regular-expression matches with no parser, scope graph, type system, or control-flow model.
Code: if (value = 3) { console.log(value) }
array.forEach(async item => await save(item))
Language: javascript
Issues: Possible assignment inside a condition., forEach does not await async callbacks. Issue count: 2 Note: Heuristic review only; run the language compiler, tests and a dedicated linter.
Review preflights highlight async forEach, Python snippets expose shared list defaults, and teaching exercises compare heuristics with compiler and linter results.