Single Choice Easy

QWhat is the type of the following value in JavaScript? ['apple', 'banana', 'mango']

ID: #4908 Javascript Data Types MCQ 152 views
Question Info
#4908Q ID
EasyDifficulty
Javascript Data Types MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A object
  • B string
  • C number
  • D boolean
Correct Answer

Explanation

In JavaScript, an object is a collection of key-value pairs. In this case, the object is an array, which is a special type of object that stores a list of items in a specific order.

Share This Question

Challenge a friend or share with your study group.