timepiece/node_modules/json-stable-stringify-without-jsonify/example/str.js

4 lines
97 B
JavaScript

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