ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

What is the return type of typeof for standard JavaScript objects?

Answer & Solution
Correct Answer: Option B
The typeof operator returns “object” for all standard JavaScript objects as functions are, and the typeof operator returns “xml”.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Bhavani Vasa
Bhavani Vasa 2 years ago
The different variant of Date() constructor to create date object is/are

i. new Date(date)

ii. new Date(milliseconds)

iii. new Date(date string)

iv. new Date(year, month, date[hour, minute, second, millisecond])

Select one:

a. i, ii and v_{n} only

Ob. i, ii, iii and Iv

c. i, ii and iii only

d. ii, iii and iv only

ot sure