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

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.

主站蜘蛛池模板: 海南省| 长泰县| 民县| 杭锦后旗| 且末县| 云和县| 建昌县| 资源县| 长阳| 平乡县| 台前县| 南安市| 凭祥市| 娱乐| 黎城县| 武乡县| 利辛县| 凤台县| 新竹市| 桃园市| 江达县| 惠水县| 锡林浩特市| 铜川市| 古浪县| 射洪县| 恩平市| 许昌市| 芷江| 舞钢市| 嘉善县| 大理市| 江安县| 诸暨市| 新密市| 全椒县| 海林市| 小金县| 景谷| 海门市| 米林县|