Netscape wanted to make it small programming language that runs right in the browser, instead of having to make up new HTML tags. Netscape wanted an easy and accessible language to work for the web browser since Java was the leading programming language of that time.It was difficult to learn Java. Brendan Eich at Netscape was able to create a programming language that could instruct the computer on how to interact with the user upon receiving user input. They called this language “Livescript” and integrated it directly into Navigator.
Because, People will be able to execute programs on desktop and mobile devices (phones, tablets). You only create one version of the program and it will run on Windows, Linux, Mac, iOS, Android etc.
Many websites will allow you to upload your programs to the internet for free (just like uploading/creating a webpage) — your program will instantly be accessible to anyone in the world.
Because there is really no alternative to JS on the horizon, chances are JS will be supported for many years to come.
- Each language requires different plug-ins.