Series: AST JavaScriptAST Understand the grammar Implementing the parser Handling the unexpected input Unexpected token Unexpected end of string Going the extra mile Error code and standard error message A better view of what went wrong Suggestions for error recovery Summary The interview question of the week for this week on Cassidoo's weekly newsletter is, Write a function that takes in a string
![JSON Parser with JavaScript | Tan Li Hau](https://cdn-ak-scissors.b.st-hatena.com/image/square/5c6e804a62562487203c5cc7a1981e9e22ba9c1f/height=288;version=1;width=512/https%3A%2F%2Flihautan.com%2F_app%2Fassets%2Fhero-twitter-57f7bb48.jpg)