odin-default-js-exercises/node_modules/json-stable-stringify-witho.../example/nested.js

4 lines
109 B
JavaScript
Raw Normal View History

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