Differences between revisions 3 and 4
Revision 3 as of 2025-12-19 20:24:59
Size: 352
Comment: Cleanup
Revision 4 as of 2025-12-19 20:25:12
Size: 397
Comment: Java -> ECMA
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from JavaScript/Objects

ECMAScript Objects

Objects are a core data type.


Description

A basic collection of data passed by reference.

const obj = {
  foo: 1,
  bar: {
    baz = 2,
  },
};

const shallow_copy = { ...obj };

const deep_copy = structuredClone(obj);


CategoryRicottone

ECMAScript/Objects (last edited 2025-12-19 20:25:12 by DominicRicottone)