34,333
edits
Changes
→JavaScript String Object Methods
</tr>
<tr>
<td>italicitalics()<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>
<tr>
<td>lastIndexOf()<td>Takes a string as an argument and returns the index of the last 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>link()<td>Accepts a URL as an argument and constructs an <a> tag using the URL as the href value.</td>
</tr>
</table>