summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-28.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-28.js')
-rw-r--r--test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-28.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-28.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-28.js
index b2a3da597..f3538884d 100644
--- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-28.js
+++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-28.js
@@ -9,14 +9,14 @@ description: >
visible when an exception occurs
---*/
-var stepFiveOccurs = false;
-var fromIndex = {
- valueOf: function() {
- stepFiveOccurs = true;
- return 0;
- }
-};
+ var stepFiveOccurs = false;
+ var fromIndex = {
+ valueOf: function () {
+ stepFiveOccurs = true;
+ return 0;
+ }
+ };
assert.throws(TypeError, function() {
- Array.prototype.lastIndexOf.call(undefined, undefined, fromIndex);
+ Array.prototype.lastIndexOf.call(undefined, undefined, fromIndex);
});
assert.sameValue(stepFiveOccurs, false, 'stepFiveOccurs');