Yes. Functions are special types of objects in JavaScript.
JavaScript has seven primitive data types: String, Number, Boolean, Undefined, Null, BigInt, and Symbol.
No. Arrays are objects and therefore non-primitive.
undefined typically means a value has not been assigned, while null represents an intentional absence of value.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.
LEARN. BUILD. GROW.