summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-a-10.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-a-10.js')
-rw-r--r--test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-a-10.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-a-10.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-a-10.js
index 5dd88469d..aa82dc85b 100644
--- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-a-10.js
+++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-a-10.js
@@ -9,19 +9,19 @@ description: >
after current position are visited on an Array
---*/
- var arr = [0, , 2];
+var arr = [0, , 2];
- Object.defineProperty(arr, "2", {
- get: function () {
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 6.99;
- },
- configurable: true
- });
- return 0;
- },
- configurable: true
- });
+Object.defineProperty(arr, "2", {
+ get: function() {
+ Object.defineProperty(Array.prototype, "1", {
+ get: function() {
+ return 6.99;
+ },
+ configurable: true
+ });
+ return 0;
+ },
+ configurable: true
+});
assert.sameValue(arr.lastIndexOf(6.99), 1, 'arr.lastIndexOf(6.99)');