While HTML and CSS control the content and styling of a page, JavaScript is used to make it interactive. In the JavaScript Algorithm and Data Structures, you'll learn the fundamentals of :
- JavaScript including variables,
- arrays,
- objects,
- loops,
- and functions.
Once you have the fundamentals down, you'll apply that knowledge by creating algorithms to manipulate strings, factorialize numbers, and even calculate the orbit of the International Space Station.
Along the way, you'll also learn two important programming styles or paradigms: Object Oriented Programming (OOP) and Functional Programming (FP).
ECMAScript, or ES, is a standardized version of JavaScript. Because all major browsers follow this specification, the terms ECMAScript and JavaScript are interchangeable.
Most of the JavaScript you've learned up to this point was in ES5 (ECMAScript 5), which was finalized in 2009. While you can still write programs in ES5, JavaScript is constantly evolving, and new features are released every year.
ES6, released in 2015, added many powerful new features to the language. In this course, you'll learn these new features, including :
- let and const,
- arrow functions,
- classes,
- promises, and
- modules.
Debugging is the process of going through your code, finding any issues, and fixing them.
Issues in code generally come in three forms:
- Syntax errors that prevent your program from running,
- Runtime errors where your code has unexpected behavior and
- Logical errors where your code doesn't do what you intended.
In this course, you'll learn how to use the JavaScript console to debug programs and prevent common issues before they happen.
This section contents 11 Lecons (files):
- Debug1.js : Use the JavaScript Console to Check the Value of a Variable
- Debug2.js : Use typeof to Check the Type of a Variable
- Debug3.js : Catch Misspelled Variable and Function Names
- Debug4.js : Catch Unclosed Parentheses, Brackets, Braces and Quotes
- Debug5.js : Catch Mixed Usage of Single and Double Quotes
- Debug6.js : Catch Use of Assignment Operator Instead of Equality Operator
- Debug7.js : Catch Missing Open and Closing Parenthesis After a Function Call
- Debug8.js : Catch Arguments Passed in the Wrong Order When Calling a Function
- Debug9.js : Catch Off By One Errors When Using Indexing
- Debug10.js : Use Caution When Reinitializing Variables Inside a Loop
- Debug11.js : Prevent Infinite Loops with a Valid Terminal Condition