r/shittyprogramming • • Apr 12 '16

Easy JavaScript game loop

Post image
277 Upvotes

37 comments sorted by

View all comments

28

u/auxiliary-character Apr 12 '16

I forget, does javascript have tail call recursion?

13

u/[deleted] Apr 12 '16

ES6 does, but I don't think any browsers support it yet.