adsterra

Learn Java Scipt with me:)




Java Script is an object based scripting language which is lightweight and cross platform. Java script is not a compiled language, but it is a translated language.

Application:-
  •     Client side validation
  •   Dynamic drop-down menus.
  •   Display date-time and clocks.




Here our First program in java script ,saved with .js extension.
Print Hello world on screen.
Make sure you install the node first 
https://csafact.blogspot.com/2020/03/tools-that-we-need-to-run-java-script.html
Then run in cmd as:- node Hello.js ,then press enter

  console.log('Hello Wolrd');

                                     console.log() is function in java script which is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user.

Post a Comment

0 Comments