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

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.

主站蜘蛛池模板: 兰溪市| 增城市| 军事| 河津市| 闸北区| 睢宁县| 龙里县| 庆元县| 昭苏县| 信阳市| 九台市| 柳州市| 绍兴县| 弥勒县| 阜阳市| 万宁市| 平谷区| 哈尔滨市| 肥乡县| 普宁市| 新和县| 汾西县| 东城区| 镇江市| 浦县| 石嘴山市| 内江市| 威远县| 札达县| 河津市| 嘉兴市| 邹平县| 上林县| 南漳县| 遂川县| 长兴县| 广宗县| 太仆寺旗| 新绛县| 陇南市| 营山县|