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?

27

u/MC_Labs15 Apr 12 '16

This particular code will throw an error

1

u/serg06 Apr 12 '16

JS throws errors?