summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js')
-rw-r--r--test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js
index 81cbe7b98..216e4da0b 100644
--- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js
+++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js
@@ -9,16 +9,16 @@ description: >
prototype index property not to be visited on an Array
---*/
- var arr = [0, , 2];
+var arr = [0, , 2];
- Object.defineProperty(arr, "0", {
- get: function () {
- delete Array.prototype[1];
- return 0;
- },
- configurable: true
- });
+Object.defineProperty(arr, "0", {
+ get: function() {
+ delete Array.prototype[1];
+ return 0;
+ },
+ configurable: true
+});
- Array.prototype[1] = 1;
+Array.prototype[1] = 1;
assert.sameValue(arr.indexOf(1), -1, 'arr.indexOf(1)');