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
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.
* @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.
*/
charCodeAt(index: number): number;

Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/completionsStringMethods.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
],
"documentation": [
{
"text": "Returns the Unicode value of the character at the specified location.",
"text": "Returns the Unicode value of the character at the specified location, or NaN if the index is out of bounds.",
"kind": "text"
}
],
Expand All @@ -226,7 +226,7 @@
"kind": "space"
},
{
"text": "The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",
"text": "The zero-based index of the desired character.",
"kind": "text"
}
]
Expand Down
Loading