Bug 930327 - Add test.

This commit is contained in:
Brian Hackett 2013-11-17 15:46:02 -07:00
parent 55412888c2
commit 92dd04f4f6

View File

@ -0,0 +1,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)
}
}