How do I pass an empty variable value to Date() object in JavaScript?

后端 未结 0 1761
情话喂你
情话喂你 2021-02-12 22:50

I created a function:

fD = D => new Date(D).toDateString().toLocaleString("en-US", { timeZone: "America/New_York" )};

Problem is that someti

相关标签:
回答
  • 消灭零回复
提交回复
热议问题