summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js')
-rw-r--r--test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js b/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js
index 811c2c86a..498ac5fc8 100644
--- a/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js
+++ b/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js
@@ -25,14 +25,14 @@ var desc = {
Object.defineProperty(TypedArray.prototype, "byteOffset", desc);
-testWithTypedArrayConstructors(function(TA, N) {
+testWithTypedArrayConstructors(function(TA) {
var sample = new TA(2);
- var src = new TA(N([42, 43]));
+ var src = new TA([42, 43]);
var differentTA = TA === Uint8Array ? Int8Array : Uint8Array;
if (typeof BigInt !== "undefined")
differentTA = TA === BigInt64Array ? BigUint64Array :
TA === BigUint64Array ? BigInt64Array : differentTA;
- var src2 = new differentTA(N([42, 43]));
+ var src2 = new differentTA([42, 43]);
var src3 = new differentTA(sample.buffer, 0, 2);
Object.defineProperty(TA.prototype, "byteOffset", desc);