Closed

Description
I've tried to create dates from string using new Date() constructor and it behaves differently in debug mode than in standard mode. For example, in debug mode I can create a date using
const date = new Date("2017-10-09 12:00:00")
In standard mode (without debug js remotely) I get Invalid Date
in my const.
Looks like the constructor accepts more formats in debug.