Searched refs:non_objects (Results 1 – 2 of 2) sorted by relevance
/external/v8/test/mjsunit/ |
D | object-freeze.js | 34 var non_objects = new Array(undefined, null, 1, -1, 0, 42.43, Symbol("test")); variable 35 for (var key in non_objects) { 36 assertSame(non_objects[key], Object.freeze(non_objects[key])); 40 for (var key in non_objects) { 41 assertTrue(Object.isFrozen(non_objects[key]));
|
D | object-seal.js | 34 var non_objects = new Array(undefined, null, 1, -1, 0, 42.43, Symbol("test")); variable 35 for (var key in non_objects) { 36 assertSame(non_objects[key], Object.seal(non_objects[key])); 40 for (var key in non_objects) { 41 assertTrue(Object.isSealed(non_objects[key]));
|