summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug930327.js
blob: 496b6e342ed495ebee5c62acc9f0a9320ebf25e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| error: ReferenceError

function MyObject( value ) {
  this.value = value;
  value &= value;
}
ForIn_1(new MyObject(true));
function ForIn_1( object) {
  for ( property in object ) {
    object[property] == eval(property) 
  }
}