Types of objects.
These are the main in-built objects in Javascript.- Numbers can be objects.(If defined with the new keyword.)
- Booleans can be objects.(If defined with the new keyword.)
- Strings can be objects.(If defined with the new keyword.)
- Arrays are always objects.
- Functions are always objects.
- Maths are always objects.
- Dates are always objects.
- Regular Expressions are always objects.
- Objects are always objects.