summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js')
-rw-r--r--test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js
index 146456dba..bfb7c07cd 100644
--- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js
+++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js
@@ -7,7 +7,7 @@ es5id: 15.4.4.14-5-1
description: Array.prototype.indexOf when fromIndex is string
---*/
- var a = [1,2,1,2,1,2];
+var a = [1, 2, 1, 2, 1, 2];
-assert.sameValue(a.indexOf(2,"2"), 3, '"2" resolves to 2');
-assert.sameValue(a.indexOf(2,"one"), 1, '"one" resolves to 0');
+assert.sameValue(a.indexOf(2, "2"), 3, '"2" resolves to 2');
+assert.sameValue(a.indexOf(2, "one"), 1, '"one" resolves to 0');