summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/find/get-length-ignores-length-prop.js
diff options
context:
space:
mode:
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.js6
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
);
});