Differences between revisions 1 and 2
Revision 1 as of 2023-05-30 18:22:59
Size: 438
Comment:
Revision 2 as of 2025-12-19 20:23:44
Size: 490
Comment: Pruning dead links
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from JavaScript/Builtins/Types

JavaScript Builtin Types

!JavaScript has the following built-in types available at the global scope.


Objects

Objects are a basic collection of disparate data. They are 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)