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

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.

主站蜘蛛池模板: 二手房| 晋江市| 黄陵县| 和硕县| 乡城县| 广平县| 东源县| 乌拉特前旗| 高陵县| 上杭县| 青海省| 原阳县| 云南省| 桦南县| 屯昌县| 延安市| 合作市| 南京市| 高安市| 左贡县| 闸北区| 彩票| 桃园县| 柳林县| 永清县| 青龙| 绵阳市| 南部县| 鱼台县| 郯城县| 讷河市| 家居| 陆川县| 兰西县| 蒙自县| 贵德县| 沾化县| 湛江市| 宁波市| 简阳市| 塔城市|