data types

Data types and Objects in JavaScript

Before we discuss objects, let’s go through data types. We have 7 data types. Data Types Primitive Numbers — const age = 23 Undefined — const x Strings (Text) — const a = “init” Null – The value null represents the intentional absence of any object value. Booleans (True or false statements) — const c …

Data types and Objects in JavaScript Read More »