The following code:
<script language="JavaScript">
document.write("The word bold is in <b>Bold</b> type");
</script>
Produces the following output:
Note the error in the text on page 45.
They omitted the ( ) in the code for the document.write command.