odin-javascript-exercises/node_modules/json-stable-stringify-without-jsonify/example/nested.js

4 lines
109 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
var stringify = require('../');
var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
console.log(stringify(obj));