Imported Upstream version 1.0.0
[platform/upstream/js.git] / js / src / jit-test / tests / basic / testSuppressDeletedProperty.js
1 var obj = { a:1, b:1, c:1, d:1, e:1, f:1, g:1 };
2 var sum = 0;
3 for each (var i in obj) {
4     sum += i;
5     delete obj.f;
6 }
7
8 // this isn't even implemented to work yet; just don't crash or iloop