Javascript - Write program to Create a Date object from a string

Requirements

Write program to Create a Date object from a string

Create a Date object with the following value: "January 10, 2015 10:00:00".

Hint

Use new Date("date and time").

Demo

let d = new Date("January 10, 2015 10:00:00");
console.log( d );

Result

Related Exercise