r/programming • • Aug 30 '15

JavaScript “maze generator” in a tweet

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

177 comments sorted by

View all comments

Show parent comment

4

u/pbfy0 Aug 31 '15

That doesn't work. The \u257 gets interpreted as the unicode character 257 in javascript, and then it appends "1" or "2" to that.

1

u/chernn Aug 31 '15

you're right, i should have tested my code!