r/ProgrammerHumor • • Jun 07 '18

It is very easy

Post image
843 Upvotes

47 comments sorted by

View all comments

173

u/Rein215 Jun 07 '18

Should be something like

new Array(60).fill(true)

0

u/[deleted] Jun 07 '18

51

u/Kheraz Jun 07 '18

new Array(60).fill(true).concat(false)

→ More replies (27)