JSON.parse() — Watch your Tail.

Vilva Athiban P B
2 min readSep 7, 2018

With JavaScript Release 1.8.5, we are in a situation to watch our tails when we use JSON.parse(). The following feature may not be a game changer, but if not properly taken care, might end up being lethal to the application.

Trailing commas:

It is considered to add Trailing comma during object creation, as below, for two reasons:

Vilva Athiban P B

6+ years of Experience in React-Redux / NodeJS / GraphQL / TypeScript. https://vilvaathiban.com