- ✕This summary was generated using AI based on multiple online sources. To view the original source information, use the "Learn more" links.
The JavaScript reference serves as a comprehensive repository of facts about the JavaScript language. It provides detailed information on various aspects of JavaScript, including built-in objects, methods, properties, and language constructs.
Built-in Objects
JavaScript includes several built-in objects such as Object, Function, Boolean, Symbol, Error, Number, BigInt, Math, Date, String, and RegExp.
Example:
let date = new Date();console.log(date.toString()); // Outputs the current date and time as a stringCopied!✕CopyFunctions and Classes
JavaScript supports various types of functions and classes, including regular functions, arrow functions, generator functions, async functions, and classes with constructors and methods.
Example:
class Person {constructor(name) {this.name = name;}greet() {console.log(`Hello, my name is ${this.name}`);}}let person = new Person("John");person.greet(); // Outputs: Hello, my name is JohnCopied!✕CopyControl Flow Statements
JavaScript Reference - W3Schools
689 rows · Well organized and easy to understand Web building tutorials with lots of examples of how …
JavaScript documentation — DevDocs
JavaScript API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more.
The Modern JavaScript Tutorial
2 days ago · Learn JavaScript from scratch to advanced topics with simple, but detailed explanations and examples. The tutorial covers the language itself, the …
Javascript Cheatsheet
This cheat sheet tries to provide a basic reference for beginner and advanced developers, lower the entry barrier for newcomers and help veterans refresh the old tricks.
JavaScript: The Complete Reference
Add power and flexibility to Web sites using this in-depth guide to JavaScript. Extensive coverage of everything from language fundamentals to advanced Document Object Model (DOM) manipulation …
JavaScript Tutorial
Object – introduce you to the object type. Primitive vs. reference values – understand two value types in JavaScript, including primitive and reference values, and the …
JavaScript - MDN Web Docs
Oct 2, 2025 · JavaScript (JS) is a lightweight interpreted (or just-in-time compiled) programming language with first-class functions. While it is most well-known as the scripting language for Web …
JavaScript >> Introduction | DevGuru
This is an extensive reference source that explains and gives comprehensive, working examples of code in a definitive manner for the JavaScript language (and hence, for the ECMAScript and JScript …
JavaScripture - The word on JavaScript
JavaScripture.com is a testing ground and reference for all JavaScript APIs. Each reference page contains detailed descriptions and interactive examples like the following so you can quickly learn by …
- People also ask