Categories
JavaScript Answers

How to fix ISODate is not defined with Node?

Spread the love

To fix ISODate is not defined with Node, we use the Date constructor.

For instance, we write

const d = new Date(dateString);

to create a date from dateString with the Date constructor.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *