JavaScript (JS) is the lingua franca of web development. It supports functional (especially for web programming), and object-oriented programming paradigms, and has weak typing. A popular superset of JavaScript is TypeScript, which adds static typing analysis.

Reserved keywords in JS:

break case catch class const continue debugger default
delete do else enum export extends false finally for
function if implements import interface in instanceof let
new package private protected public return static super
switch this throw true try typeof var void while with yield

Language features

Libraries, dependencies, and frameworks

Development environments

Embeds

We can embed JavaScript within HTML documents with the <script> tag. Some additional features:

  • <script src="code.js"></script> can compactly embed a JS program stored in a different file.

Resources

See also