Files
codeql/javascript/ql/test/library-tests/CallGraphs/FullTest/reflection.js
2019-07-08 12:57:34 +01:00

9 lines
144 B
JavaScript

function add(x, y) {
return x+y;
}
if (sneaky())
add.apply = function() { return 56; };
add.call(null, 23, 19);
add.apply(null, [23, 19]);