We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b8cb3b commit 73b38ccCopy full SHA for 73b38cc
src/lib/es5.d.ts
@@ -400,8 +400,8 @@ interface String {
400
charAt(pos: number): string;
401
402
/**
403
- * Returns the Unicode value of the character at the specified location.
404
- * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.
+ * Returns the Unicode value of the character at the specified location, or NaN if the index is out of bounds.
+ * @param index The zero-based index of the desired character.
405
*/
406
charCodeAt(index: number): number;
407
0 commit comments