Skip to content

Commit b8ca925

Browse files
Place 'pop' first in 'Array'.
1 parent 8a559e4 commit b8ca925

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/es5.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,15 +1125,15 @@ interface Array<T> {
11251125
* Returns a string representation of an array. The elements are converted to string using their toLocalString methods.
11261126
*/
11271127
toLocaleString(): string;
1128+
/**
1129+
* Removes the last element from an array and returns it.
1130+
*/
1131+
pop(): T | undefined;
11281132
/**
11291133
* Appends new elements to an array, and returns the new length of the array.
11301134
* @param items New elements of the Array.
11311135
*/
11321136
push(...items: T[]): number;
1133-
/**
1134-
* Removes the last element from an array and returns it.
1135-
*/
1136-
pop(): T | undefined;
11371137
/**
11381138
* Combines two or more arrays.
11391139
* @param items Additional items to add to the end of array1.

0 commit comments

Comments
 (0)