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

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: "The source code will be generated in the src/resources/{type} folder depending on the type you selected."

A block of code is set as follows:

function sum(numberA, numberB){
return numberA + numberB
}
sum(4,5) //9
sum(5,2) //7
sum(sum(5,1),9) //15

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

class Example {
static returnMessage(){
return 'From static method'
}
}
let staticMessage = Example.returnMessage() // From static method

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

cd my-app
au run --watch --env prod

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Create a New item, which requires admin."

Warnings or important notes appear like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 嘉鱼县| 古丈县| 南郑县| 丹寨县| 上犹县| 汉中市| 墨竹工卡县| 宜宾市| 横山县| 邵东县| 垦利县| 和平县| 克什克腾旗| 交城县| 南溪县| 芮城县| 涡阳县| 宝丰县| 抚松县| 龙胜| 南漳县| 徐州市| 南郑县| 通山县| 额敏县| 冷水江市| 二连浩特市| 会同县| 县级市| 广平县| 扎兰屯市| 光山县| 荃湾区| 棋牌| 广宗县| 连州市| 普宁市| 伽师县| 巴彦县| 子长县| 龙山县|