JavaScriptII

JavaScriptII - ANNOUNCEMENTS No posting of code in the...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ANNOUNCEMENTS No posting of code in the forum Check class announcements daily JavaScript template (skeleton) available in “Resources” section of class web page Make sure you study this lecture’s material as we will have a lab next time 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
RESERVED WORDS (KEYWORDS) Reserved words words you cannot use as identifiers (variable/function names) Some of them are: var break do If catch 2
Background image of page 2
3 JavaScript ignores spaces, tabs, and newlines between tokens Use spaces to create nicely indented code The rules are usually one tab for indentation or three/four spaces. You need to satisfy this requirement in programming assignments A semicolon is generally used to mark the end of a statement and is optional when a statement appears on a separate line. For example, the following two set of statements are equivalent x = 1; y = 2; x = 1 y = 2 In this course we will always use a semicolon to mark the end of a statement SPACES, SEMICOLONS, COMMENTS
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/12/2012 for the course CMSC 122 taught by Professor Staff during the Fall '08 term at Maryland.

Page1 / 10

JavaScriptII - ANNOUNCEMENTS No posting of code in the...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online