34,333
edits
Changes
→JavaScript String Object Methods
<tr>
<td>fontsize()<td>Specifies the color of the string. Equivalent to wrapping the string in HTML <font size="''size''"> and </font> elements (e.g. <font size="4pt">Example</font>) </td>
</tr>
<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>
</table>