initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
8
github/codeql-action-v2/node_modules/traverse/examples/negative.js
generated
vendored
Executable file
8
github/codeql-action-v2/node_modules/traverse/examples/negative.js
generated
vendored
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue