diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor-returns-throws.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor-returns-throws.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor-returns-throws.js b/test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor-returns-throws.js index 9b574031c..a63bd2e53 100644 --- a/test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor-returns-throws.js +++ b/test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor-returns-throws.js @@ -30,8 +30,8 @@ features: [Symbol, TypedArray] var callbackfn = function() { return true; }; -testWithTypedArrayConstructors(function(TA, N) { - var sample = new TA(N([40, 41, 42, 43])); +testWithTypedArrayConstructors(function(TA) { + var sample = new TA([40, 41, 42, 43]); sample.constructor = 42; assert.throws(TypeError, function() { |