Anonymous user
Day of the week: Difference between revisions
→{{header|CoffeeScript}}
(added coffeescript solutions) |
|||
Line 422:
console.log "#{xmas.toDateString()} is a Sunday" if xmas.getDay() is 0</lang>
or in a
<lang coffeescript>for year in [2008...2121]
|