File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ interface RegExpConstructor {
383383
384384interface String {
385385 /**
386- * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point
386+ * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the Unicode code point
387387 * value of the UTF-16 encoded code point starting at the string element at position pos in
388388 * the String resulting from converting this object to a String.
389389 * If there is no element at that position, the result is undefined.
Original file line number Diff line number Diff line change @@ -400,8 +400,8 @@ interface String {
400400 charAt ( pos : number ) : string ;
401401
402402 /**
403- * Returns the Unicode value of the character at the specified location, or NaN if the index is out of bounds.
404- * @param index The zero-based index of the desired character .
403+ * Returns the UTF-16 code unit value at the specified location, or NaN if the index is out of bounds.
404+ * @param index The zero-based index of the desired UTF-16 code unit .
405405 */
406406 charCodeAt ( index : number ) : number ;
407407
You can’t perform that action at this time.
0 commit comments