
Start scripting in JavaScript by writing your first script, enabling JavaScript in your browser, and placing code in the e-mail page using script tags, inline, or external files.
Understand how JavaScript variables act as containers for data, created with the assignment operator and the declare keyword. Explore variable name rules, case sensitivity, and using strings, numbers, and concatenation.
Explore JavaScript data types, including primitive values like numbers, strings, booleans, null and undefined, and the composite object and array types, plus basic typeof checks.
JavaScript functions are reusable blocks of code you can call anywhere in your program. Learn to define functions, pass arguments, use return values, and understand local versus global variables.
JavaScript is a high-level, dynamic, un-typed and interpreted programming language. It has been standardized in the ECMA Script language specification. As a multi-paradigm language, JavaScript supports event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).
The ECMAScript standard does not include any input/output (I/O), such as networking, storage, or graphics facilities. In practice, the web browser or other runtime system provides JavaScript APIs for I/O. JavaScript engines were originally used only in web browsers, but they are now core components of other software systems, most notably servers and a variety of applications. Although there are similarities between JavaScript and Java, including language name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in design.
Every major web browser has built-in web development tools, including a JavaScript debugger.
Static program analysis tools, such as ESLint and JSLint, scan JavaScript code for conformance to a set of standards and guidelines.
Some browsers have built-in profilers. Stand-alone profiling libraries have also been created, such as benchmark.js and jsbench.[94][95]
Many text editors have syntax highlighting support for JavaScript code.
JavaScript is the dominant client-side language of the Web, and many websites are script-heavy. Thus transpilers have been created to convert code written in other languages, which can aid the development process.