Skip to content

Commit 0f0972c

Browse files
committed
fixed typo in jsdoc of function tail
1 parent e4db254 commit 0f0972c

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)