summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-3-29.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-3-29.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-3-29.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-3-29.js b/test/built-ins/Array/prototype/map/15.4.4.19-3-29.js
index 647d3c24d..613ab9c8e 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-3-29.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-3-29.js
@@ -9,15 +9,15 @@ description: >
1)
---*/
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
+function callbackfn(val, idx, obj) {
+ return val > 10;
+}
- var obj = {
- 0: 11,
- 1: 9,
- length: 4294967297
- };
+var obj = {
+ 0: 11,
+ 1: 9,
+ length: 4294967297
+};
assert.throws(RangeError, function() {
- var newArr = Array.prototype.map.call(obj, callbackfn);
+ var newArr = Array.prototype.map.call(obj, callbackfn);
});