odin-js-fundamentals-part-4/node_modules/fast-json-stable-stringify/example/str.js

4 lines
97 B
JavaScript

var stringify = require('../');
var obj = { c: 6, b: [4,5], a: 3 };
console.log(stringify(obj));