JavaScript - Basic

Concept
  • Understand that JavaScript is interpreted
  • Describe the (non)relationship/differences between JavaScript and Java
Code
  • 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
Variables
  • 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
Operators

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
Execution flow Predict the execution flow of code using the following constructs:
  • if .. else
  • switch case default
  • for loop
  • while loop
  • for .. in
  • with statement
  • break & continue
  • try .. catch
  • throw
Built-in objects Use and create built-in objects (including using new and using eval).
  • Strings
  • Date
  • Array - Initialization
  • Boolean
  • Math
  • DOM Objects
Just introduction to the document objects - document, window with only these functions - open(),write(),setTimeout()/clearTimeout() Built-in functions Identify / use built-in Functions
  • decodeURI()
  • decodeURIComponent()
  • encodeURI()
  • encodeURIComponent()
  • escape()
  • eval()
  • isFinite()
  • isNaN()
  • Number()
  • parseFloat()
  • parseInt()
  • String()
  • unescape()
HTML events
  • Handle and react to HTML Events
  • Bubble and suppress events
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值