I love this Math.ceil method.
clean and single line code. what about edge cases? "will it throw invalid on -3000"
honestly I couldn't tell you
Me too🤣🤣🤣🤣
Looks really nice and clean :).
I am wondering in what cultures 1904 is 19th century. In Russia it's always been 20th one.
why?
Thank you for this! More learnings from the CodeWars Community
Same... I'm disappointing my family
perfect
perfect as it should be
Are you rounding down...?
This comment is hidden because it contains spoiler information about the solution
You need to read more, 20th century goes from 1 Jan 1901 to 31 Dec 2000. Source: https://en.wikipedia.org/wiki/20th_century
I feel this is more a culture problem than a js problem here
Loading collection data...
I love this Math.ceil method.
clean and single line code. what about edge cases? "will it throw invalid on -3000"
honestly I couldn't tell you
Me too🤣🤣🤣🤣
Looks really nice and clean :).
I am wondering in what cultures 1904 is 19th century. In Russia it's always been 20th one.
why?
Thank you for this! More learnings from the CodeWars Community
Same... I'm disappointing my family
perfect
perfect as it should be
Are you rounding down...?
This comment is hidden because it contains spoiler information about the solution
You need to read more, 20th century goes from 1 Jan 1901 to 31 Dec 2000. Source: https://en.wikipedia.org/wiki/20th_century
I feel this is more a culture problem than a js problem here
Loading more items...