mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-23 06:14:45 +00:00
.
This commit is contained in:
parent
00c3b50fca
commit
ae5dcb46c8
7331 changed files with 1784502 additions and 0 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