08-27-周三_17-09-29

This commit is contained in:
2025-08-27 17:10:05 +08:00
commit 86df397d8f
12735 changed files with 1145479 additions and 0 deletions

10
node_modules/traverse/examples/negative.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
'use strict';
var traverse = require('traverse');
var obj = [5, 6, -3, [7, 8, -2, 1], { f: 10, g: -13 }];
traverse(obj).forEach(function (x) {
if (x < 0) { this.update(x + 128); }
});
console.dir(obj);