1
JavaScriptBeginner#scope#es6
Seven primitives — string, number, bigint, boolean, undefined, symbol, null — plus the object type (which covers arrays, functions, dates and plain objects). Primitives are immutable and copied by value; objects are copied by reference.
typeof 'hi'; // 'string'
typeof 10n; // 'bigint'
typeof null; // 'object' (historic bug)
typeof []; // 'object'
typeof function(){} // 'function'