Skip to content

Commit 0082281

Browse files
authored
Merge pull request microsoft#22081 from delftswa2017/typo-jsdoc-array.ts
Fixed typo in jsdoc of function tail
2 parents 88e1406 + 0f0972c commit 0082281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/common/arrays.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Returns the last element of an array.
99
* @param array The array.
10-
* @param n Which element from the end (default ist zero).
10+
* @param n Which element from the end (default is zero).
1111
*/
1212
export function tail<T>(array: T[], n: number = 0): T {
1313
return array[array.length - (1 + n)];

0 commit comments

Comments
 (0)