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);

21st May 2019, 1:28 PM
Gagan Deep Singh
Gagan Deep Singh - avatar
3 odpowiedzi
+ 2
Robin R. your fix code doesn't work. Can you know if could be related with Chrome compatibility?? Thanks in advance!
29th Nov 2020, 7:33 PM
Lluna Pellise
Lluna Pellise - avatar
+ 1
Thank you)))
22nd May 2019, 2:17 PM
Gagan Deep Singh
Gagan Deep Singh - avatar
22nd May 2019, 1:58 PM
Robin R.
Robin R. - avatar