r/programming • • Aug 30 '15

JavaScript “maze generator” in a tweet

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

177 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Aug 31 '15 edited Aug 31 '15

Re unicode, you can, but Twitter doesn't support it and I didn't think it was fair to work outside of the original constraints.

Re the newline, no, JS strings don't support that. Unless they're ES6 template strings, which are surrounded with backticks, but IE and Safari don't support those yet.

1

u/msiekkinen Aug 31 '15

Twitter doesn't support? It's filled with emojis, as a counter example

1

u/[deleted] Aug 31 '15

Huh. I was actually just assuming that since nobody else was changing it, I don't have an account.