Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
12 lines (10 loc) · 368 Bytes

File metadata and controls

12 lines (10 loc) · 368 Bytes
Copy raw file
Download raw file
Edit and raw actions

Mutable

The difference between objects and primitive values is that we can change objects, whereas primitive values are immutable.

var myPrimitive = "first value";
myPrimitive = "another value";
// myPrimitive now points to another string.
var myObject = { key: "first value" };
myObject.key = "another value";
// myObject points to the same object.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.