diff options
author | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 13:00:09 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 16:45:08 -0500 |
commit | 098c69540ee57f94daf795b20e8a3e70ab986860 (patch) | |
tree | 9b207f1900e7beb8f3b28989230b00e00c80ef38 /test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js | |
parent | 3f3f2faa8e71eaa3f316635dc8fb3c3a0661b654 (diff) | |
download | qtdeclarative-testsuites-098c69540ee57f94daf795b20e8a3e70ab986860.tar.gz |
Remove N()
Diffstat (limited to 'test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js b/test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js index f236772a3..4c5905ee1 100644 --- a/test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js +++ b/test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js @@ -31,14 +31,14 @@ Object.defineProperty(TypedArray.prototype, "length", { } }); -testWithTypedArrayConstructors(function(TA, N) { +testWithTypedArrayConstructors(function(TA) { Object.defineProperty(TA.prototype, "length", { get: function() { throw new Test262Error(); } }); - var sample = new TA(N([42])); + var sample = new TA([42]); Object.defineProperty(sample, "length", { get: function() { @@ -49,6 +49,6 @@ testWithTypedArrayConstructors(function(TA, N) { assert.sameValue( sample.find(function() { return true; }), - N(42) + 42 ); }); |