mirror of https://github.com/tc39/test262.git
chore: change name of argument
This commit is contained in:
parent
92dad8d640
commit
1feafce8ce
|
@ -26,8 +26,8 @@ compareArray.isSameValue = function(a, b) {
|
|||
return a === b;
|
||||
};
|
||||
|
||||
compareArray.format = function(spreadable) {
|
||||
return `[${[].map.call(spreadable, String).join(', ')}]`;
|
||||
compareArray.format = function(thingWithALengthPropertyAndNumericIndices) {
|
||||
return `[${[].map.call(thingWithALengthPropertyAndNumericIndices, String).join(', ')}]`;
|
||||
};
|
||||
|
||||
assert.compareArray = function(actual, expected, message) {
|
||||
|
|
Loading…
Reference in New Issue