The correct option is 4) new Date().
The correct option is 4) new Date(). This option creates a new instance of the Date object, which is an object in JavaScript. Objects are data types in JavaScript that can contain properties and methods.
9.2m questions
11.9m answers