There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "This is very similar to console.time and timeEnd but it should showcase what is available with generators."
A block of code is set as follows:
for(let i = 0; i < 100000; i++) {
const j = Library.outerFun(true);
}
Any command-line input or output is written as follows:
> npm install what-the-pack
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "If we open the DevTools by pressing F12 in Windows, we may see the Shader Editor tab already."
Warnings or important notes appear like this.
Tips and tricks appear like this.