xk/JASON — Issue #1: Sticky additional properties
Author: xk
Created: 2012-01-30 09:08:28+00:00
State: open

If you do:

o= [];
o.k= 27;
JSON.stringify(o)
JSON.stringify({})

It gives: '(function(o){\n ;\n o["k"]= 27;\n return o;\n})({});'

IOW, the (additional) properties are not reset between calls to .stringify()