Primitive Value
noun
say it: “PRIM-ih-tiv VAL-yoo” /ˈprɪmɪtɪv ˈvæljuː/
A single, simple value that is not an object: a string, number, boolean, null, undefined, bigint or symbol.
What is Primitive Value in JavaScript?
Primitive Value — A value that is not an object, such as a string, number, boolean, null, or undefined.
const item = "tea";
const quantity = 2;
const paid = true;
In a sentence
- “The price 4.5 is a primitive value, so copying it into another variable makes a separate copy.”
Level: Novice · More JavaScript terms at this level
Updated