"# JavaScript"
Day-1
-> intro of javascript How to integrate JavaScript to html -> three ways 1) inline 2) internal 3) external Variables
-
var
-
let
-
const What is hoisting -> It is a behaviour where the declaretion of the variables and function are moved to top even before the execution.
Day-2
Datatypes
Primitive:
-string -Number -boolean -undifined -null
Non-primitive:
-Array -Object -Function
typeof
- var a=10
- console.log(typeof a)
Propmt : It is used to take input from user
Operators:
- Arithmetic
- Assignment
- Comparision
- Logical
- Ternary
- Unary