Exercise #1 Using NodeJS, do the following:
- Write a variable without initial value
- Write a variable with initial value
- Write 3 variables in same line without initial value
- Write 3 variables in same line with initial value
- Write 3 variables with Boolean value
- Write a constant
- Write an empty array without initializing its size
- Write an array of number from 1 to 10
- Write an array of strings has letters from A to J
- Write an Object has at least 3 attributes (keys) and give each one a numeric value
- Write an object has at least 3 attributes (keys) and give each one a string value
- Write an object has at least 3 attributes (keys) and give each one a Boolean value
- Write an object has at least 3 attributes (keys) and give each one an array value
- Write an object has at least 3 attributes (keys) and give each one an object value (object of objects)
- Write an object has at least 5 attributes (keys) and give each one different type of values including: string, number, Boolean, array, object
- Write an array of objects
- Write an array of objects, and each objects is an object of objects that has an array, this array will have at least one object
- Write a function to sum two numbers passed in parameters
- Write a function to multiply two numbers
- Write a function to sum two numbers entered by user
- Write a function to multiply two numbers entered by user
- Write a function to return a value
- Write a function to print a value