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

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.

主站蜘蛛池模板: 信阳市| 玉山县| 类乌齐县| 九江市| 蕲春县| 白水县| 屏东县| 墨竹工卡县| 梨树县| 武夷山市| 泰宁县| 永登县| 临武县| 庐江县| 佳木斯市| 道真| 什邡市| 邵武市| 深水埗区| 台中市| 正阳县| 大城县| 广宁县| 金山区| 腾冲县| 抚顺县| 诸暨市| 昂仁县| 凌海市| 克东县| 都昌县| 南乐县| 台南市| 黑山县| 时尚| 青浦区| 宜丰县| 都昌县| 朝阳市| 怀安县| 壶关县|