- 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.
- Android Wearable Programming
- Java程序設計(慕課版)
- Instant Testing with CasperJS
- C++程序設計(第3版)
- Building Modern Web Applications Using Angular
- Game Programming Using Qt Beginner's Guide
- C語言程序設計(第2版)
- Unity 2020 Mobile Game Development
- C# 從入門到項目實踐(超值版)
- Android NDK Beginner’s Guide
- Java應用開發技術實例教程
- R Data Analysis Cookbook(Second Edition)
- Hands-On JavaScript for Python Developers
- Java程序設計與項目案例教程
- ASP.NET求職寶典