DEV Community

Akash
Akash

Posted on

To Learn JAVASCRIPT

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
Enter fullscreen mode Exit fullscreen mode

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.
Enter fullscreen mode Exit fullscreen mode
  • 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

      1. String
      2. Boolean
      3. Number
      4. Bigint
      5. Symbol
      6. Undefined
      7. Null > NON PRIMITIVE DATATYPE
      8. Array
      9. Function
      10. Object
  • Javascript is usually used to controll the behaviour of another program

  • To print output enter console.log

Top comments (0)