CodingReported in a candidate post, Feb 2024
Fix syntax error in prime number code
Filed under Criteo
The question
Identify and fix a syntax error in a given snippet of JavaScript code that checks for prime numbers.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.