Results 41 - 57 of 57


The Object.seal() method seals an object, preventing new properties from being added to it and marking all existing properties as non-configurable. Values of present properties can still be changed as long as they are writable.
ECMAScript5 JavaScript JavaScript 1.8.5 Method Object


The Object.setPrototypeOf() method sets the prototype (i.e., the internal [[Prototype]] property) of a specified object to another object or null.
ECMAScript6 JavaScript Method Object Prototype


The unwatch() method removes a watchpoint set with the watch() method.
JavaScript Method Object Prototype Reference


The Object.values() method returns an array of a given object's own enumerable property values, in the same order as that provided by a loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
Experimental JavaScript Method Object Reference


The ReferenceError object represents an error when a non-existent variable is referenced.
Error JavaScript Object Reference ReferenceError


The SyntaxError object represents an error when trying to interpret syntactically invalid code.
Error JavaScript Object Reference SyntaxError


The TypeError object represents an error when a value is not of the expected type.
Error JavaScript Object Reference TypeError


The URIError object represents an error when a global URI handling function was used in a wrong way.
Error JavaScript Object Reference URIError


The JSON object contains methods for parsing JavaScript Object Notation (JSON) and converting values to JSON. It can't be called or constructed, and aside from its two method properties it has no interesting functionality of its own.
JavaScript JSON Object polyfill Reference Référence


The Object.assign() method is used to copy the values of all enumerable own properties from one or more source objects to a target object. It will return the target object.
ECMAScript6 JavaScript Method Object polyfill Reference


The Object.create() method creates a new object with the specified prototype object and properties.
ECMAScript5 JavaScript Method Object polyfill Reference


The Object.getOwnPropertyNames() method returns an array of all properties (enumerable or not) found directly upon a given object.
ECMAScript5 JavaScript JavaScript 1.8.5 Method Object Reference


The __proto__ property of Object.prototype is an accessor property (a getter function and a setter function) that exposes the internal [[Prototype]] (either an object or null) of the object through which it is accessed.
Deprecated JavaScript Object Property Prototype Reference

Introduction to Object-Oriented JavaScript

Object-oriented to the core, JavaScript features powerful, flexible OOP capabilities. This article starts with an introduction to object-oriented programming, then reviews the JavaScript object model, and finally demonstrates concepts of object-oriented programming in JavaScript. This article does not describe the newer syntax for object-oriented programming in ECMAScript 6.
Constructor Encapsulation Inheritance Intermediate JavaScript Members Namespace Object Object-Oriented OOP

The method determines whether two values are the same value.
Comparison Condition Conditional ECMAScript6 Equality JavaScript Method Object


The instanceof operator tests whether an object has in its prototype chain the prototype property of a constructor.
instanceof JavaScript Object operator Operator Prototype Relational Operators

Object initializer

Objects can be initialized using new Object(), Object.create(), or using the literal notation (initializer notation). An object initializer is a list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}).
computed ECMAScript 2015 ECMAScript6 JavaScript JSON Literal Methods mutation Object Primary Expression properties