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

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.

主站蜘蛛池模板: 杂多县| 略阳县| 中方县| 方山县| 南华县| 申扎县| 奎屯市| 会东县| 日照市| 离岛区| 景德镇市| 六枝特区| 错那县| 芜湖市| 连云港市| 读书| 高淳县| 临西县| 黑河市| 陵川县| 正阳县| 台东市| 微山县| 清水县| 浙江省| 突泉县| 尚义县| 浮山县| 固安县| 普兰店市| 潜山县| 乳源| 临海市| 扶余县| 宁武县| 正安县| 商城县| 灵石县| 龙门县| 伊宁县| 漠河县|