We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33d93f commit 7a2273aCopy full SHA for 7a2273a
test/built-ins/TypedArray/prototype/copyWithin/coerced-target-start-end-shrink.js
@@ -24,16 +24,16 @@ for (let ctor of ctors) {
24
return 2;
25
};
26
assert.throws(TypeError, () => {
27
- fixedLength.copyWithin({ valueOf: evil }, 0, 1, ctor.name + " evil target.");
28
- });
+ fixedLength.copyWithin({ valueOf: evil }, 0, 1);
+ }, ctor.name + " evil target.");
29
rab.resize(4 * ctor.BYTES_PER_ELEMENT);
30
31
- fixedLength.copyWithin(0, { valueOf: evil }, 3, ctor.name + " evil start.");
32
+ fixedLength.copyWithin(0, { valueOf: evil }, 3);
+ }, ctor.name + " evil start.");
33
34
35
- fixedLength.copyWithin(0, 1, { valueOf: evil }, ctor.name + " evil end.");
36
+ fixedLength.copyWithin(0, 1, { valueOf: evil });
+ }, ctor.name + " evil end.");
37
}
38
39
for (let ctor of ctors) {
0 commit comments