Skip to content

Commit e2234f6

Browse files
Update LKG
1 parent 826bea9 commit e2234f6

File tree

6 files changed

+4729
-3136
lines changed

6 files changed

+4729
-3136
lines changed

Diff for: lib/lib.es2023.array.d.ts

+11-11
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ interface Int8Array {
209209
* Copies and sorts the array.
210210
* @param compareFn Function used to determine the order of the elements. It is expected to return
211211
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
212-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
212+
* value otherwise. If omitted, the elements are sorted in ascending order.
213213
* ```ts
214214
* const myNums = Uint8Array.from([11, 2, 22, 1]);
215215
* myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
@@ -273,7 +273,7 @@ interface Uint8Array {
273273
* Copies and sorts the array.
274274
* @param compareFn Function used to determine the order of the elements. It is expected to return
275275
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
276-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
276+
* value otherwise. If omitted, the elements are sorted in ascending order.
277277
* ```ts
278278
* const myNums = Uint8Array.from([11, 2, 22, 1]);
279279
* myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
@@ -345,7 +345,7 @@ interface Uint8ClampedArray {
345345
* Copies and sorts the array.
346346
* @param compareFn Function used to determine the order of the elements. It is expected to return
347347
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
348-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
348+
* value otherwise. If omitted, the elements are sorted in ascending order.
349349
* ```ts
350350
* const myNums = Uint8ClampedArray.from([11, 2, 22, 1]);
351351
* myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22]
@@ -409,7 +409,7 @@ interface Int16Array {
409409
* Copies and sorts the array.
410410
* @param compareFn Function used to determine the order of the elements. It is expected to return
411411
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
412-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
412+
* value otherwise. If omitted, the elements are sorted in ascending order.
413413
* ```ts
414414
* const myNums = Int16Array.from([11, 2, -22, 1]);
415415
* myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11]
@@ -481,7 +481,7 @@ interface Uint16Array {
481481
* Copies and sorts the array.
482482
* @param compareFn Function used to determine the order of the elements. It is expected to return
483483
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
484-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
484+
* value otherwise. If omitted, the elements are sorted in ascending order.
485485
* ```ts
486486
* const myNums = Uint16Array.from([11, 2, 22, 1]);
487487
* myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22]
@@ -545,7 +545,7 @@ interface Int32Array {
545545
* Copies and sorts the array.
546546
* @param compareFn Function used to determine the order of the elements. It is expected to return
547547
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
548-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
548+
* value otherwise. If omitted, the elements are sorted in ascending order.
549549
* ```ts
550550
* const myNums = Int32Array.from([11, 2, -22, 1]);
551551
* myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11]
@@ -617,7 +617,7 @@ interface Uint32Array {
617617
* Copies and sorts the array.
618618
* @param compareFn Function used to determine the order of the elements. It is expected to return
619619
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
620-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
620+
* value otherwise. If omitted, the elements are sorted in ascending order.
621621
* ```ts
622622
* const myNums = Uint32Array.from([11, 2, 22, 1]);
623623
* myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22]
@@ -689,7 +689,7 @@ interface Float32Array {
689689
* Copies and sorts the array.
690690
* @param compareFn Function used to determine the order of the elements. It is expected to return
691691
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
692-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
692+
* value otherwise. If omitted, the elements are sorted in ascending order.
693693
* ```ts
694694
* const myNums = Float32Array.from([11.25, 2, -22.5, 1]);
695695
* myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5]
@@ -761,7 +761,7 @@ interface Float64Array {
761761
* Copies and sorts the array.
762762
* @param compareFn Function used to determine the order of the elements. It is expected to return
763763
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
764-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
764+
* value otherwise. If omitted, the elements are sorted in ascending order.
765765
* ```ts
766766
* const myNums = Float64Array.from([11.25, 2, -22.5, 1]);
767767
* myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5]
@@ -833,7 +833,7 @@ interface BigInt64Array {
833833
* Copies and sorts the array.
834834
* @param compareFn Function used to determine the order of the elements. It is expected to return
835835
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
836-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
836+
* value otherwise. If omitted, the elements are sorted in ascending order.
837837
* ```ts
838838
* const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]);
839839
* myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n]
@@ -905,7 +905,7 @@ interface BigUint64Array {
905905
* Copies and sorts the array.
906906
* @param compareFn Function used to determine the order of the elements. It is expected to return
907907
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
908-
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
908+
* value otherwise. If omitted, the elements are sorted in ascending order.
909909
* ```ts
910910
* const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]);
911911
* myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n]

0 commit comments

Comments
 (0)