Remove unused parameter for testWithBigIntTypedArrayConstructors

+whitespace
This commit is contained in:
Leo Balter 2018-02-27 18:09:39 -05:00 committed by Rick Waldron
parent 0b54908dba
commit 7add5252e5
10 changed files with 17 additions and 17 deletions

View File

@ -18,4 +18,4 @@ testWithBigIntTypedArrayConstructors(function(TA) {
var sample = new TA(buffer, 0, 1);
$DETACHBUFFER(sample.buffer);
assert.sameValue(sample.buffer, buffer);
}, [BigInt64Array, BigUint64Array]);
});

View File

@ -19,4 +19,4 @@ testWithBigIntTypedArrayConstructors(function(TA) {
var ta = new TA(buffer);
assert.sameValue(ta.buffer, buffer);
}, [BigInt64Array, BigUint64Array]);
});

View File

@ -17,7 +17,7 @@ var s = Symbol("1");
testWithBigIntTypedArrayConstructors(function(TA) {
var sample = new TA();
assert.throws(TypeError, function() {
sample.subarray(s);
});

View File

@ -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);
});

View File

@ -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);
});

View File

@ -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.
...

View File

@ -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")).
...

View File

@ -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").

View File

@ -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.

View File

@ -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