summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testThatGenExpsActuallyDecompile.js
blob: 1f309b962a486bb3a1f162d7d869683e4f33c91e (plain)
1
2
3
4
// |jit-test| error: 3
var str = (function (x) {return (i for (i in x));}).toSource().replace('\n', '');
assertEq(str, "(function (x) {return (i for (i in x));})");
throw 3;