Topics > 5. JavaScript: Foundational Concepts & Programming Review
JavaScript is a versatile, high-level programming language that runs in web browsers, enabling interactivity and dynamic content. In this unit, we will review basic programming concepts using JavaScript.
Readings & Activities
Week | Slides / Activities | Readings | |
---|---|---|---|
Week 5 | Mon, 2/10 | Lecture 9 Intro to JavaScript Activity 9 Intro to the language |
Required:
|
Wed, 2/12 | Tutorial 4 Programming Review (due Mon, 2/17) |
Study Questions / Concepts
- What is the difference between an interpreted and a compiled language?
- What does it mean that JavaScript is not a "strongly typed language"?
- What are the three different ways declare a variable? What does each declaration keyword mean? Which legacy declaration keyword should be avoided if possible?
- Know how to write a function using arrow functions and using "traditional" function declaration syntax.
- Know the differences between equality (==) and strict equality (===) (and use strict equality as much as possible)
- Know the basic control structures (if/else if/else, for loops, while loops, for...of loops)
- Remember that JavaScript can be interpreted with Node.js or by a web browser
- Review the programming with JavaScript cheatsheet for a review.