0 votes
in JavaScript by
What is the output of below Javascript code?

alert (typeof new Date() );

a) Throws Error

b) object

c) Displays Nothing

d) Current Date

1 Answer

0 votes
by

Answer:-  B

reason:- The typeof is an operator keyword which is used to get a type at the compile-time) Or in other words, this operator is used to get the System.Type object for a type.

...