This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure we do the malformed JSON check for all both JSON.parse and …
…new Function (this helps to create uniformity between browser implementations of JSON.parse - like where Chrome allows some malformed strings. Thanks to DBJDBJ for the heads-up.
- Loading branch information
Showing 1 changed file with 9 additions and 6 deletions.