Lowercase vs UpperCase Object
This lesson will teach you how to differentiate between object and Object.
We'll cover the following
Lowercase object
#
With TypeScript 2.2, the lowercase object
type was born. The lowercase object
type contains all types that are not primitive. It’s easy to confuse this with the uppercase Object
, which every kind of object has in common. Here is a list of the types that are not an object:
- undefined
- null
- number
- string
- Boolean
- symbol
Get hands-on with 1200+ tech skills courses.