tvcutsem / harmony-reflect

ES5 shim for ES6 Reflect and Proxy objects
http://www.ecma-international.org/ecma-262/6.0/#sec-reflection
Other
478 stars 48 forks source link

Using stringify on proxy object #45

Closed vclteam closed 9 years ago

vclteam commented 9 years ago

hi

any reason why this is not working?

var obj  = {};
obj.name = "Func";
var t = JSON.stringify(obj); //working

var prx = new Proxy({}, {});
prx.name = "Func";
var t = JSON.stringify(prx); //not working
vclteam commented 9 years ago

ok

there already an answer for this issue