- Test-Driven JavaScript Development
- Ravi Kumar Gupta Hetal Prajapati Harmeet Singh
- 217字
- 2021-07-30 09:59:09
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "This will start a server on port 9880
keeping runner mode QUIET
as you can see in the command prompt after running the command."
A block of code is set as follows:
<script> YUI().use('test-console','test', function (Y) { var testCase = new Y.Test.Case({ /* * Sets up data needed by each test.
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
toCurrencyAmount = rateOfConversion* amount; // rounding off toCurrencyAmount = Number.parseFloat(toCurrencyAmount).toFixed(2);
Any command-line input or output is written as follows:
npm install karma –save-dev
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on the first link Capture This Browser, which will allow JsTestDriver to capture this browser."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- 觸·心:DT時代的大數據精準營銷
- JavaScript+DHTML語法與范例詳解詞典
- C#完全自學教程
- 信息安全技術
- 云計算通俗講義(第3版)
- Java性能權威指南(第2版)
- Mastering ServiceNow(Second Edition)
- C語言程序設計同步訓練與上機指導(第三版)
- Spring Boot企業級項目開發實戰
- Vue.js 2 Web Development Projects
- Scratch3.0趣味編程動手玩:比賽訓練營
- Learning Bootstrap 4(Second Edition)
- 深度學習的數學:使用Python語言
- 信息學競賽寶典:基礎算法
- Continuous Integration,Delivery,and Deployment