mirror of https://github.com/tc39/test262.git
Remove unused parameter for testWithBigIntTypedArrayConstructors
+whitespace
This commit is contained in:
parent
0b54908dba
commit
7add5252e5
|
@ -18,4 +18,4 @@ testWithBigIntTypedArrayConstructors(function(TA) {
|
|||
var sample = new TA(buffer, 0, 1);
|
||||
$DETACHBUFFER(sample.buffer);
|
||||
assert.sameValue(sample.buffer, buffer);
|
||||
}, [BigInt64Array, BigUint64Array]);
|
||||
});
|
||||
|
|
|
@ -19,4 +19,4 @@ testWithBigIntTypedArrayConstructors(function(TA) {
|
|||
var ta = new TA(buffer);
|
||||
|
||||
assert.sameValue(ta.buffer, buffer);
|
||||
}, [BigInt64Array, BigUint64Array]);
|
||||
});
|
||||
|
|
|
@ -17,7 +17,7 @@ var s = Symbol("1");
|
|||
|
||||
testWithBigIntTypedArrayConstructors(function(TA) {
|
||||
var sample = new TA();
|
||||
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
sample.subarray(s);
|
||||
});
|
||||
|
|
|
@ -27,11 +27,11 @@ var o2 = {
|
|||
|
||||
testWithBigIntTypedArrayConstructors(function(TA) {
|
||||
var sample = new TA();
|
||||
|
||||
|
||||
assert.throws(Test262Error, function() {
|
||||
sample.subarray(o1);
|
||||
});
|
||||
|
||||
|
||||
assert.throws(Test262Error, function() {
|
||||
sample.subarray(o2);
|
||||
});
|
||||
|
|
|
@ -28,11 +28,11 @@ var o2 = {
|
|||
|
||||
testWithBigIntTypedArrayConstructors(function(TA) {
|
||||
var sample = new TA();
|
||||
|
||||
|
||||
assert.throws(Test262Error, function() {
|
||||
sample.subarray(0, o1);
|
||||
});
|
||||
|
||||
|
||||
assert.throws(Test262Error, function() {
|
||||
sample.subarray(0, o2);
|
||||
});
|
||||
|
|
|
@ -10,9 +10,9 @@ info: |
|
|||
the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27
|
||||
except that the this object's [[ArrayLength]] internal slot is accessed in
|
||||
place of performing a [[Get]] of "length".
|
||||
|
||||
|
||||
22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
|
||||
|
||||
|
||||
...
|
||||
4. If len is zero, return the empty String.
|
||||
...
|
||||
|
|
|
@ -10,9 +10,9 @@ info: |
|
|||
the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27
|
||||
except that the this object's [[ArrayLength]] internal slot is accessed in
|
||||
place of performing a [[Get]] of "length".
|
||||
|
||||
|
||||
22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
|
||||
|
||||
|
||||
1. Let array be ? ToObject(this value).
|
||||
2.Let len be ? ToLength(? Get(array, "length")).
|
||||
...
|
||||
|
|
|
@ -10,9 +10,9 @@ info: |
|
|||
the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27
|
||||
except that the this object's [[ArrayLength]] internal slot is accessed in
|
||||
place of performing a [[Get]] of "length".
|
||||
|
||||
|
||||
22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
|
||||
|
||||
|
||||
...
|
||||
4. If len is zero, return the empty String.
|
||||
5. Let firstElement be ? Get(array, "0").
|
||||
|
|
|
@ -10,9 +10,9 @@ info: |
|
|||
the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27
|
||||
except that the this object's [[ArrayLength]] internal slot is accessed in
|
||||
place of performing a [[Get]] of "length".
|
||||
|
||||
|
||||
22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
|
||||
|
||||
|
||||
...
|
||||
9.Repeat, while k < len
|
||||
a. Let S be a String value produced by concatenating R and separator.
|
||||
|
|
|
@ -10,9 +10,9 @@ info: |
|
|||
the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27
|
||||
except that the this object's [[ArrayLength]] internal slot is accessed in
|
||||
place of performing a [[Get]] of "length".
|
||||
|
||||
|
||||
22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
|
||||
|
||||
|
||||
...
|
||||
5. Let firstElement be ? Get(array, "0").
|
||||
6. If firstElement is undefined or null, then
|
||||
|
|
Loading…
Reference in New Issue