11.12.2012 Views

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

document.write("Note how newlines (\\n's) and ");<br />

document.write("escape sequences are used.\n");<br />

document.write("You might wonder, \"Will this nested quoting<br />

work?\"");<br />

document.write(" It will.\n");<br />

document.write("Here's an example of some formatted data:\n\n");<br />

document.write("\tCode\tValue\n");<br />

document.write("\t\\n\tnewline\n");<br />

document.write("\t\\\\\tbackslash\n");<br />

document.write("\t\\\"\tdouble quote\n\n");<br />

//–->><br />

<br />

<br />

<br />

<br />

Boleans<br />

Booleans derive their name from George Boole, the 19th century logician who developed the<br />

true/false system of logic upon which digital circuits would later be based. With this in mind, it<br />

should come as no surprise that Booleans take on one of two values: true or false.<br />

Comparison expressions such as x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!