Talk:2014
Jump to navigation
Jump to search
It is different than 2017, so it seem to me that it should not use the similar implementation either. Unlike 2017, the specification of 2014 does not say that it has to access the internet to figure out the current date/time, nor does it say that if it isn't 2014 that it is an error or that it outputs a blank line, but rather says that it should do nothing. In this case, the program can be shortened to one line: if(new Date().getFullYear()==2014) console.log("Hello, world!");
--Zzo38 (talk) 03:19, 18 August 2017 (UTC)