MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/shittyprogramming/comments/4eebef/easy_javascript_game_loop/d2yo0se/?context=3
r/shittyprogramming • u/MC_Labs15 • Apr 12 '16
37 comments sorted by
View all comments
28
I forget, does javascript have tail call recursion?
27 u/MC_Labs15 Apr 12 '16 This particular code will throw an error 9 u/auxiliary-character Apr 12 '16 Yeah, even if javascript has tail call recursion, they're not using return statements at the end. 1 u/ConcernedInScythe May 09 '16 There's an implicit return at the end of the function block, which any decent optimiser should understand.
27
This particular code will throw an error
9 u/auxiliary-character Apr 12 '16 Yeah, even if javascript has tail call recursion, they're not using return statements at the end. 1 u/ConcernedInScythe May 09 '16 There's an implicit return at the end of the function block, which any decent optimiser should understand.
9
Yeah, even if javascript has tail call recursion, they're not using return statements at the end.
1 u/ConcernedInScythe May 09 '16 There's an implicit return at the end of the function block, which any decent optimiser should understand.
1
There's an implicit return at the end of the function block, which any decent optimiser should understand.
28
u/auxiliary-character Apr 12 '16
I forget, does javascript have tail call recursion?