summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/shape-checks.js
blob: ba193a9cc2ce3592e31bee5ed8bc6ea311c846f5 (plain)
1
2
3
4
5
6
7
8
enableShapeConsistencyChecks();
var o = {};
for (var i = 0; i < 50; i++) {
    o["x" + i] = i;
}
for (var i = 0; i < 50; i += 2) {
    delete o["x" + i];
}