This project introduces the basics of JavaScript programming — from printing messages and handling arguments to loops, conditionals, and basic data structures.
By the end of this project, you should be able to explain to anyone, without the help of Google:
- Why JavaScript programming is amazing
- How to run a JavaScript script
- How to create variables and constants
- The differences between
var,const, andlet - The data types available in JavaScript
- How to use
ifandif...elsestatements - How to use comments
- How to assign values to variables
- How to use
whileandforloops - How to use
breakandcontinuestatements - What a function is and how to use functions
- What a function that does not use any
returnstatement returns - Scope of variables
- Arithmetic operators and how to use them
- How to manipulate dictionaries (objects)
- How to import a file
- Allowed editors:
vi,vim,emacs - All your files will be interpreted on Ubuntu 20.04 LTS using Node.js (version 14.x)
- All your files should end with a new line
- The first line of all your files should be exactly:
#!/usr/bin/node