mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 13:14:44 +00:00
.
This commit is contained in:
parent
beb1329f9f
commit
2b95e76931
7736 changed files with 1874747 additions and 51184 deletions
7
node_modules/fast-json-stable-stringify/example/key_cmp.js
generated
vendored
Normal file
7
node_modules/fast-json-stable-stringify/example/key_cmp.js
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
var stringify = require('../');
|
||||
|
||||
var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
|
||||
var s = stringify(obj, function (a, b) {
|
||||
return a.key < b.key ? 1 : -1;
|
||||
});
|
||||
console.log(s);
|
Loading…
Add table
Add a link
Reference in a new issue