0
spread operator
I can not understand the output because there is not any output, please help me ) var dateFields = [1970, 0, 1]; // 1 Jan 1970 var date = new Date(...dateFields); console.log(date);
3 Answers
+ 2
Robin R. your fix code doesn't work. Can you know if could be related with Chrome compatibility?? Thanks in advance!
+ 1
Thank you)))
- 1
I get output
https://code.sololearn.com/Walu1le8ceYQ/?ref=app