According to GitHub 2018, JS top the list of the most popular programming languages. It is used for both front-end and back-end development.
Programs written in the language are called scripts. Here is an example of a simple JS script that prints
All modern browsers have a built-in program that allows you to execute JS directly in them. Let's look at the result of our first program in browser. To do this, press
Ctrl + Shfit + J/Ctrl + Shfit + K on windows OR Cmd+Opt+J/Cmd+Opt+C on Mac
write the JS code in the opened console, the press Enter.
As you can see, the result of our first script was the line
The browser console is not always easy to use, so you can also run this code on this site.
You can support me on Buy Me a Coffee