Saved Bookmarks
| 1. |
Which method is used to retrieve a character from a certain index? |
|
Answer» The charAt() function of the JavaScript string finds a char element at the supplied index. The index number begins at 0 and continues up to n-1, Here n is the string length. The index value must be positive, higher than, or the same as the string length. |
|