In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "If you want to be sure, you can check the
cancellable property of the event object".
A block of code will be set as follows:
var a; var thisIsAVariable; var _and_this_too; var mix12three;
When we wish to draw your attention to an output of a code block, the relevant lines or items will be shown in bold:
> var case_matters = 'lower'; > var CASE_MATTERS = 'upper'; > case_matters; "lower" > CASE_MATTERS; "upper"
Any command-line input or output is written as follows: