Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/es2015.core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ interface RegExpConstructor {

interface String {
/**
* Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point
* Returns a nonnegative integer Number less than 1114112 (0x110000) that is the Unicode code point
* value of the UTF-16 encoded code point starting at the string element at position pos in
* the String resulting from converting this object to a String.
* If there is no element at that position, the result is undefined.
Expand Down
4 changes: 2 additions & 2 deletions src/lib/es5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ interface String {
charAt(pos: number): string;

/**
* 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.
* Returns the UTF-16 code unit value at the specified location, or NaN if the index is out of bounds.
* @param index The zero-based index of the desired UTF-16 code unit.
*/
charCodeAt(index: number): number;

Expand Down