ccxvii / mujs

An embeddable Javascript interpreter in C.

Home Page:http://mujs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON.stringify doesn't accept array of strings to whitelist the properties as replacer parameter

isRyven opened this issue · comments

So code like this doesn't work as expected:

JSON.stringify({a:1,b:2}, ["a"], 4) 

though specification clearly defines the behavior.