- Learning Behavior:driven Development with JavaScript
- Enrique Amodeo
- 218字
- 2021-07-23 20:52:32
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: "The headers
property of the replay
object is an array of regular expressions."
A block of code is set as follows:
var result = b.operation(1, 2); expect(result).to.be.deep.equal({ args: [1, 2], result: 3 });
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
module.exports = function (findConfiguration) { return function () { findConfiguration('default'); return validatorWith([ nonPositiveValidationRule, nonDivisibleValidationRule(3, 'error.three'), nonDivisibleValidationRule(5, 'error.five') ]); }; };
Any command-line input or output is written as follows:
$ me@~> mkdir validator $ me@~> cd validator $ me@~/validator> npm init
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: "You can download and execute a nice installer by going to Node.js website and clicking on Install."
- JavaScript高效圖形編程
- Microsoft Dynamics 365 Extensions Cookbook
- 體驗(yàn)設(shè)計(jì)原理:行為、情感和細(xì)節(jié)
- AngularJS Web Application Development Blueprints
- PostgreSQL技術(shù)內(nèi)幕:事務(wù)處理深度探索
- Python程序設(shè)計(jì)案例教程
- Mastering LibGDX Game Development
- 小程序開發(fā)原理與實(shí)戰(zhàn)
- Babylon.js Essentials
- Oracle GoldenGate 12c Implementer's Guide
- Flowable流程引擎實(shí)戰(zhàn)
- Microsoft Windows Identity Foundation Cookbook
- Python深度學(xué)習(xí):基于PyTorch
- Perl 6 Deep Dive
- Visual FoxPro程序設(shè)計(jì)