JavaScript Overview

Photo by Rachael Gorjestani on Unsplash
Photo by Rachael Gorjestani on Unsplash

Introduction to JavaScript

JavaScript is a high-level, interpreted programming language. Although there are strong outward similarities between JavaScript and Java, including language name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in design. JavaScript is used to make webpages interactive and provide online programs, including video games. The majority of websites employ it, and all modern web browsers support it without the need for plug-ins by means of a built-in JavaScript engine.

History

In 1995, Netscape Communications recruited Brendan Eich with the goal of embedding the Scheme programming language into its Netscape Navigator. Eich wrote a prototype in 10 days, to defend the idea of JavaScript against competing proposals. JavaScript

Initially only implemented client-side in web browsers, JavaScript engines are now embedded in many other types of host software, including server-side in web servers and databases, and in non-web programs such as word processors and PDF software, and in runtime environments that make JavaScript available for writing mobile and desktop applications, including desktop widgets.

JavaScript Resources

Quick Reference – JavaScript

Here is a quick reference for the basics of JavaScript…

Hello World in JavaScript

var yourName = prompt("What is your name?");
alert("Hello " + yourName + "!");

Books on JavaScript