summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/internals/HasProperty/key-is-not-canonical-index.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArrays/internals/HasProperty/key-is-not-canonical-index.js')
-rw-r--r--test/built-ins/TypedArrays/internals/HasProperty/key-is-not-canonical-index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArrays/internals/HasProperty/key-is-not-canonical-index.js b/test/built-ins/TypedArrays/internals/HasProperty/key-is-not-canonical-index.js
index 14ffa9072..7e20c5b24 100644
--- a/test/built-ins/TypedArrays/internals/HasProperty/key-is-not-canonical-index.js
+++ b/test/built-ins/TypedArrays/internals/HasProperty/key-is-not-canonical-index.js
@@ -25,7 +25,7 @@ var keys = [
"0.0000001"
];
-testWithTypedArrayConstructors(function(TA, N) {
+testWithTypedArrayConstructors(function(TA) {
keys.forEach(function(key) {
var sample = new TA(1);
@@ -43,7 +43,7 @@ testWithTypedArrayConstructors(function(TA, N) {
delete TypedArray.prototype[key];
- Object.defineProperty(sample, key, {value: N(42)});
+ Object.defineProperty(sample, key, {value: 42});
assert.sameValue(
Reflect.has(sample, key), true,