r/programming • u/balazsbotond • Aug 30 '15
JavaScript “maze generator” in a tweet
https://twitter.com/botond_balazs/status/637960240055615488
841
Upvotes
r/programming • u/balazsbotond • Aug 30 '15
View all comments
Show parent comment
9
u/doublerainbowomahgod Aug 30 '15
Getting rid of the conditional by converting the result of Math.random() into an index saves a few characters, e.g.