34,333
edits
Changes
→JavaScript String Object Methods
<tr>
<td>indexOf()<td>Takes a string as an argument and returns the index of the first occurance of that string in an instance of a String object. Returns -1 if no match to the string is found.</td>
</tr>
<tr>
<td>italic()<td>Coverts the string to be displayed in italics. Equivalent to wrapping the string in HTML <i> and </i> elements (e.g. <i>Example</i>) </td>
</tr>
</table>