Just ran across this little gem.
new Date('2018-01-01') <- Sun Dec 31 2017 18:00:00 GMT-0600 (Central Standard Time) new Date('2018/01/01') <- Mon Jan 01 2018 00:00:00 GMT-0600 (Central Standard Time)