Skip main navigation
PLUSSA
v1.11.4
COMP.CS.200 COMP.CS.200 Web for Content Authors and Information Scientists
Begin by enrolling in a course.
Toggle navigation
Log in
Skip course navigation
Course
COMP.CS.200
Course materials
Your points
Form a group
Peer-review
Site
Home
Begin by enrolling in a course.
Log in
Skip course navigation
Course
COMP.CS.200
Course materials
Your points
Form a group
Peer-review
This course has already ended.
«
5.1 JavaScript syntax basics: run-through
Course materials
5.2.1 Introduction
»
COMP.CS.200
5. JavaScript: basics + tutorial (assignment)
5.2 Javascript fundamentals
Javascript fundamentals
¶
Introduction
Warm up: Assigning variables
Data-types
String
Number
Boolean
Object
Array
undefined
null
String handling
Arrays
Object
Note array
Control structures
Conditionals
If statements
Else if and else statements
Falsy and truthy values
Conditionals
Loops
while
do … while
for
While
Array travel
Repeat note
Functions
Alert
Console log
JavaScript Function syntax
The () Operator Invokes the Function
Array-sum function
Double number function
Half number function
Posting submission...
«
5.1 JavaScript syntax basics: run-through
Course materials
5.2.1 Introduction
»
Loading...
Loading...
×
None
×
No matches