What is javascript ?  - 

High Level , just in time complied programming language.

Its means you dont need compile your code to running it. it automaticlly complie by browser directly.

Runs on browsers and server like Node js.

Javascript uses in below development.


Variable

    var , let , const

    var is globle scope. Its means we have to change var varibale value in anywhere.

    let is funcitonal or block level scope its means we do not change let variable value outside the        function.

   const value can not be change in thourgout your application.


Operators

    Arethmetic , Asignment operator exampel : const x = 10

DataTypes (typeof)

    String, Number, Boolean,Null,Undefined

String & Method

    substr , substring , split, replace

Example of substr

let firstname = "apple";
console.log(firstname.substr(1,4));

OutPut : "pple"

Example of substring

let firstname = "apple";
console.log(firstname.substring(1,4));

OutPut : "ppl"

Example of split

let languages = "HTML,CSS,PHP";
console.log(languages.split(,));

OutPut : ["HTML","CSS","PHP"]

Example of replace

let languages = "HTML,CSS,PHP";
console.log(languages.replace("HTML","HTML5"));

OutPut : HTML5,CSS,PHP



Array Method

    Sort , pop , shift , push, unshift