jalangi2
jalangi2 copied to clipboard
Bug: Boxed primitives are unboxed as eval-results.
Source:
var x = new Boolean(true)
var y = eval(new Boolean(true))
console.log(x);
console.log(y);
Uninstrumented/instrumented difference:
$ node test.js
[Boolean: true]
[Boolean: true]
$ node src/js/commands/jalangi.js test.js
[Boolean: true]
true