Skip to content

Commit 1dc1efb

Browse files
Update es5.d.ts (#45454)
* Update es5.d.ts Fix grammar error. * Update src/lib/es5.d.ts * Update src/lib/es5.d.ts Co-authored-by: Daniel Rosenwasser <[email protected]>
1 parent 9f025b9 commit 1dc1efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/es5.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ interface Array<T> {
12611261
* Sorts an array in place.
12621262
* This method mutates the array and returns a reference to the same array.
12631263
* @param compareFn Function used to determine the order of the elements. It is expected to return
1264-
* a negative value if first argument is less than second argument, zero if they're equal and a positive
1264+
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
12651265
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
12661266
* ```ts
12671267
* [11,2,22,1].sort((a, b) => a - b)

0 commit comments

Comments
 (0)