how to rewire global Date function?

后端 未结 0 1234
耶瑟儿~
耶瑟儿~ 2021-02-01 00:48

I\'m trying to rewrite the global Date function because I want to throw an error when calling Date function like this new Date(\'2021-01-01\')

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