...

/

Solution Review: Native & Host Objects

Solution Review: Native & Host Objects

In this lesson, we will discuss the solutions to the questions in the previous lesson.

Question 1: Solution review #

Explanation #

In JavaScript, native objects are built-in objects. These are pre-defined objects that are always available regardless of the environment as long as JavaScript is running. Some common ones include:

  • String()

  • Boolean()

  • Number()

  • Array() ...