summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug735161.js
blob: c127253fa109072615aa47d8a42e240f59151bf2 (plain)
1
2
3
4
var obj = {valueOf: function() { "use strict"; undeclared = 7; }};
try { '' + obj; assertEq(true, false); } catch(e) { }
try { '' + obj; assertEq(true, false); } catch(e) { }
assertEq("undeclared" in this, false);