Concept
- Understand that JavaScript is interpreted
- Describe the (non)relationship/differences between JavaScript and Java
- Use the different ways of embedding JavaScript in web pages - the script tag in head, body, inline JavaScript
- Understand how to break a code line within a text string using "\" and how it is inappropriate for non string code
- Comment JavaScript code out, using all the existing ways
- Name valid variables following the JavaScript rules - _, $, a..z A..Z followed by any number,alphabet,_,$
- Respect the JavaScript variables case-sensitivity rule.
- Identify that JavaScript variables are not strongly typed
- Understand the significance of creating variables with and without 'var'
- Identify variable scopes
Use the following operators and describe their limitations.
- Arithmetic Operators (+, -, *, /, %, --, ++)
- Assignment Operators (=, +=, /=, -=, *=, %=)
- Comparison Operators (==, ===, !=, >, <, <=, >=, !==)
- Logical Operators (!, &&, ||)
- String Operators (+)
- Conditional Operator (?:)
Write code using the following elements:
- Special characters (\',\",\&,\n,\t,\r,\b,\f')
- prototype
- typeof
- null
- new
- eval
- with
- void
- NaN
- undefined
- if .. else
- switch case default
- for loop
- while loop
- for .. in
- with statement
- break & continue
- try .. catch
- throw
- Strings
- Date
- Array - Initialization
- Boolean
- Math
- DOM Objects
- decodeURI()
- decodeURIComponent()
- encodeURI()
- encodeURIComponent()
- escape()
- eval()
- isFinite()
- isNaN()
- Number()
- parseFloat()
- parseInt()
- String()
- unescape()
- Handle and react to HTML Events
- Bubble and suppress events