官术网_书友最值得收藏!

Conventions used

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: "Use the command line, your favorite IDE, or your file browser to create a directory somewhere on your machine called MLinJSBook, with a subdirectory called Ch1-Ex1."

A block of code is set as follows:

var items = [1, 2, 3 ];
for (var index in items) {
var item = items[index];

}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

['landscape.jpeg', 'lily.jpeg', 'waterlilies.jpeg'].forEach(filename => {
console.log("Decolorizing " + filename + '...');
decolorize('./files/' + filename)
.then(() => console.log(filename + " decolorized"));
});

Any command-line input or output is written as follows:

$ node --version
V9.4.0

Bold: Indicates a new term, an important word, or words that you see onscreen. 

Warnings or important notes appear like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 静安区| 尼木县| 梧州市| 凤翔县| 东兰县| 万州区| 桂林市| 九江市| 宜兰市| 濮阳市| 滦南县| 双流县| 宁夏| 泰州市| 泸溪县| 亚东县| 庐江县| 乐东| 文安县| 革吉县| 恭城| 西青区| 光泽县| 寻甸| 明光市| 蓬安县| 大理市| 琼结县| 大英县| 四会市| 紫阳县| 肃南| 阿拉尔市| 科技| 子长县| 大邑县| 灌阳县| 蚌埠市| 厦门市| 锡林郭勒盟| 邢台县|