Before the AST: How JavaScript Turns Code into Tokens
Every developer has seen this at least once:SyntaxError: Unexpected token at line 32, column 2
JavaScript isn’t running your code yet.So how does it already know exactly where things went wrong?
The a
console-diaries.hashnode.dev6 min read