Skip to content

Commit e4b5522

Browse files
timthedev07DanielRosenwasser
authored andcommitted
Update es5.d.ts (microsoft#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 90a76f9 commit e4b5522

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
@@ -1262,7 +1262,7 @@ interface Array<T> {
12621262
* Sorts an array in place.
12631263
* This method mutates the array and returns a reference to the same array.
12641264
* @param compareFn Function used to determine the order of the elements. It is expected to return
1265-
* a negative value if first argument is less than second argument, zero if they're equal and a positive
1265+
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
12661266
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
12671267
* ```ts
12681268
* [11,2,22,1].sort((a, b) => a - b)

0 commit comments

Comments
 (0)