The JSON parse function takes in a string (invalid JSON will cause a SyntaxError exception). If parsing succeeds, JSON.parse returns the corresponding value or object.
Month: February 2018
5 things I learnt from solving 100+ hackerrank algorithms
Sometime last year I started to solve hackerrank problems at my pace and here is my progress after about 108 days ago.
Nope, You don’t need lodash for that
I recently had to reduce the size of an Angular Web app for performance reasons. A quick run through the webpack bundle analyzer identified MomentJS and Lodash as the main culprits. Consequently, I had to eliminate both libraries and implement replacements in pure ES6.