Chapter 4. JavaScript: Introduction to Scripting

<feature><title>Objectives</title>

In this chapter you will learn:

<objective>

To write simple JavaScript programs.

</objective>
<objective>

To use input and output statements.

</objective>
<objective>

Basic memory concepts.

</objective>
<objective>

To use arithmetic operators.

</objective>
<objective>

The precedence of arithmetic operators.

</objective>
<objective>

To write decision-making statements.

</objective>
<objective>

To use relational and equality operators.

</objective>
</feature>
 

Comment is free, but facts are sacred.

 
 --C. P. Scott
 

The creditor hath a better memory than the debtor.

 
 --James Howell
 

When faced with a decision, I always ask, “What would be the most fun?”

 
 --Peggy Walker
 

Equality, in ...

Get Deitel® Developer Series AJAX, Rich Internet Applications, and Web Development for Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.