Yesterday I learn basics of JAVASCRIPT It is interpreted programming language mainly used to build websites and web applications it runs directly in browsers like google chrome,mozilla firefox,microsoft edge javascript runs inside the browser
*Javascript has two types
* FRONTEND Javascript
* BACKEND Javascript
Frontend runs in Browser & Backend runs in Server javascript is object oriented programming language .Also there is a interactive questions asked in session like
1. why javascript has this name ?
> Initially it named as LIVESCRIPT ,Netscape changed it into javascript Because of the market value of java,as javascript and java seems to be similar ,for reaching wide.
2. why javascript called as scripting language ?
> It runs inside a browser,No complication steps.
3. what is the current version of javascript ?
> ES15 is current version of javascript.
4. why javascript version named ES version ?
> ES means ECMASCRIPT version.
-
In javascript datatypes can be classified into Two types
1. Primitive Datatype( Single simple value) 2. Non primitive Datatype(multiple or complex value)-
Also primitive is Immutuable & Non primitive is Mututable
PRIMITIVE DATATYPE
- String
- Boolean
- Number
- Bigint
- Symbol
- Undefined
- Null > NON PRIMITIVE DATATYPE
- Array
- Function
- Object
-
Javascript is usually used to controll the behaviour of another program
To print output enter console.log
Top comments (0)