r/programming • • Aug 30 '15

JavaScript “maze generator” in a tweet

https://twitter.com/botond_balazs/status/637960240055615488
841 Upvotes

177 comments sorted by

View all comments

Show parent comment

3

u/matt_hammond Aug 30 '15

I tried

[+(Math.random()<.5)] 

Its a bit shorter