Best way to succinctly get yesterday's date in YYYY-MM-DD format with JavaScript

前端 未结 0 1348
眼角桃花
眼角桃花 2021-01-28 03:51

I have found what is a functional way to achieve this but i am having trouble refactoring it to be shorter. Would this make sense to have this as one line or does having it spli

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