ASI Hazard Checker
100% CLIENT-SIDE
Automatic semicolon insertion only adds a semicolon where the next token cannot continue the statement. A line that starts with (, [, a template, +, - or / can continue it, so the lines join. This is a token-level check, not a full parser: it can miss a hazard and it reports a brace case as "maybe". Treat a clean result as "none of these patterns", not as proof.
JavaScript
Findings
More from JSFormat
JSFormat
Free, 100% client-side JavaScript beautifier built on a tokenizer, not regex.
JavaScript Comment Stripper
Remove comments from JavaScript without touching strings, template literals or regex literals that contain…
Guides
Developer Sponsor / Partner