January 2020
Intermediate to advanced
470 pages
11h 13m
English
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: "Let's review our once() function."
A block of code is set as follows:
function newCounter() { let count = 0; return function() { count++; return count; };}const nc = newCounter();console.log(nc()); // 1console.log(nc()); // 2console.log(nc()); // 3
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
function fact(n) { if (n === 0) { return 1; } else { return n * fact(n - 1); }}console.log(fact(5)); // 120
Bold
Read now
Unlock full access