Skip to content

Commit

Permalink
Fix typos in built-ins/TypedArray/prototype/copyWithin
Browse files Browse the repository at this point in the history
  • Loading branch information
anba committed Feb 22, 2017
1 parent 76320ad commit 878d382
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ testWithTypedArrayConstructors(function(TA) {
compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, 1, -Infinity),
[1, 2, 3, 4, 5]
)
),
'[1, 2, 3, 4, 5].copyWithin(0, 1, -Infinity) -> [1, 2, 3, 4, 5]'
);

Expand All @@ -57,7 +57,7 @@ testWithTypedArrayConstructors(function(TA) {
compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, -2, -Infinity),
[1, 2, 3, 4, 5]
)
),
'[1, 2, 3, 4, 5].copyWithin(0, -2, -Infinity) -> [1, 2, 3, 4, 5]'
);

Expand All @@ -73,7 +73,7 @@ testWithTypedArrayConstructors(function(TA) {
compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, -9, -Infinity),
[1, 2, 3, 4, 5]
)
),
'[1, 2, 3, 4, 5].copyWithin(0, -9, -Infinity) -> [1, 2, 3, 4, 5]'
);

Expand All @@ -89,7 +89,7 @@ testWithTypedArrayConstructors(function(TA) {
compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(-3, -2, -Infinity),
[1, 2, 3, 4, 5]
)
),
'[1, 2, 3, 4, 5].copyWithin(-3, -2, -Infinity) -> [1, 2, 3, 4, 5]'
);

Expand All @@ -105,7 +105,7 @@ testWithTypedArrayConstructors(function(TA) {
compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(-7, -8, -Infinity),
[1, 2, 3, 4, 5]
)
),
'[1, 2, 3, 4, 5].copyWithin(-7, -8, -Infinity) -> [1, 2, 3, 4, 5]'
);
});
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ testWithTypedArrayConstructors(function(TA) {
assert(
compareArray(
new TA([1, 2, 3, 4, 5]).copyWithin(0, -Infinity),
[0, 1, 2, 3]
[1, 2, 3, 4, 5]
),
'[1, 2, 3, 4, 5]).copyWithin(0, -Infinity) -> [1, 2, 3, 4, 5]'
);
Expand Down

0 comments on commit 878d382

Please sign in to comment.