The aim of this project is to get started with Javascript, learn all the syntax and its different uses.
Files | Description |
---|---|
0-javascript_is_amazing.js | JS script that prints “Javascript is amazing” |
1-multi_languages.js | JS script that prints 3 lines |
2-arguments.js | JS script that prints a message depending of the number of arguments passed |
3-value_argument.js | JS script that prints the first argument passed to it |
4-concat.js | JS script that prints two arguments passed to it, in the following format: “ is ” |
5-to_integer.js | JS script that prints My number: if the first argument can be converted to an integer |
6-multi_languages_loop.js | JS script that prints 3 lines: (like 1-multi_languages.js) but by using an array of string and a loop |
7-multi_c.js | JS script that prints x times “C is fun” |
8-square.js | JS script that prints a square |
9-add.js | JS script that prints the addition of 2 integers |
10-factorial.js | JS script that computes and prints a factorial |
11-second_biggest.js | JS script that searches the second biggest integer in the list of arguments |
12-object.js | JS script to replace the value 12 with 89 |
13-add.js | JS function that returns the addition of 2 integers |
100-let_me_const.js | JS file that modifies the value of myVar (in another file) to 333 |
101-call_me_moby.js | JS function that executes x times a function |
102-add_me_maybe.js | JS function that increments and calls a function |
103-object_fct.js | JS script that adds a new function incr that increments the integer value of the object myObject |