UNPKG

niosh-json

Version:

extended json parser and stringify

15 lines (14 loc) 320 B
require('./index.js'); console.log(JSON.parse(JSON.stringify(new Date()))); var a = '{"ciao":"ciao"}'; console.log(a.ƒj()); var x = a.ƒj(); console.log(x); var k = new Date(); console.log(k.ƒj()); var ee = new Error("duce"); console.log(ee.ƒj()); var b = true; console.log(b.ƒj()); var n = 3; console.log(n.ƒj());