diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/map/arraylength-internal.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/map/arraylength-internal.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/TypedArray/prototype/map/arraylength-internal.js b/test/built-ins/TypedArray/prototype/map/arraylength-internal.js index 0f9ec0807..39b34ae8a 100644 --- a/test/built-ins/TypedArray/prototype/map/arraylength-internal.js +++ b/test/built-ins/TypedArray/prototype/map/arraylength-internal.js @@ -14,7 +14,7 @@ includes: [testTypedArray.js] features: [TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA) { +testWithTypedArrayConstructors(function(TA, N) { var sample1 = new TA(42); var loop = 0; @@ -22,6 +22,7 @@ testWithTypedArrayConstructors(function(TA) { sample1.map(function() { loop++; + return N(0); }); assert.sameValue(loop, 42, "data descriptor"); @@ -37,6 +38,7 @@ testWithTypedArrayConstructors(function(TA) { sample2.map(function() { loop++; + return N(0); }); assert.sameValue(loop, 4, "accessor descriptor"); }); |