July 2008
Beginner
356 pages
6h 8m
English
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: " The key/value pairs are divided by colons, in the format key: value ."
A block of code will be set as follows:
var book = {
name: 'Catch-22',
published: 1961,
author: {
firstname: 'Joseph',
lastname: 'Heller'
}
};When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be shown in bold:
function TwoDShape(){}
// take care of inheritance
TwoDShape.prototype = Shape.prototype;
TwoDShape.prototype.constructor = TwoDShape;New terms and important words are introduced ...
Read now
Unlock full access