MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/shittyprogramming/comments/4eebef/easy_javascript_game_loop/d1zo16m/?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 0 u/[deleted] Apr 12 '16 [deleted] 8 u/MC_Labs15 Apr 12 '16 o_O 5 u/Ilostmyredditlogin Apr 12 '16 Chasing bounties? 1 u/lichorat Apr 13 '16 What bounties? 1 u/Ilostmyredditlogin Apr 13 '16 Stuff like this: https://www.google.com/about/appsecurity/chrome-rewards/index.html 1 u/lichorat Apr 13 '16 Oh I tried to do that. Turns out Chrome Stalls aren't security related. 1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
27
This particular code will throw an error
0 u/[deleted] Apr 12 '16 [deleted] 8 u/MC_Labs15 Apr 12 '16 o_O 5 u/Ilostmyredditlogin Apr 12 '16 Chasing bounties? 1 u/lichorat Apr 13 '16 What bounties? 1 u/Ilostmyredditlogin Apr 13 '16 Stuff like this: https://www.google.com/about/appsecurity/chrome-rewards/index.html 1 u/lichorat Apr 13 '16 Oh I tried to do that. Turns out Chrome Stalls aren't security related. 1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
0
[deleted]
8 u/MC_Labs15 Apr 12 '16 o_O 5 u/Ilostmyredditlogin Apr 12 '16 Chasing bounties? 1 u/lichorat Apr 13 '16 What bounties? 1 u/Ilostmyredditlogin Apr 13 '16 Stuff like this: https://www.google.com/about/appsecurity/chrome-rewards/index.html 1 u/lichorat Apr 13 '16 Oh I tried to do that. Turns out Chrome Stalls aren't security related. 1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
8
o_O
5 u/Ilostmyredditlogin Apr 12 '16 Chasing bounties? 1 u/lichorat Apr 13 '16 What bounties? 1 u/Ilostmyredditlogin Apr 13 '16 Stuff like this: https://www.google.com/about/appsecurity/chrome-rewards/index.html 1 u/lichorat Apr 13 '16 Oh I tried to do that. Turns out Chrome Stalls aren't security related. 1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
5
Chasing bounties?
1 u/lichorat Apr 13 '16 What bounties? 1 u/Ilostmyredditlogin Apr 13 '16 Stuff like this: https://www.google.com/about/appsecurity/chrome-rewards/index.html 1 u/lichorat Apr 13 '16 Oh I tried to do that. Turns out Chrome Stalls aren't security related. 1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
1
What bounties?
1 u/Ilostmyredditlogin Apr 13 '16 Stuff like this: https://www.google.com/about/appsecurity/chrome-rewards/index.html 1 u/lichorat Apr 13 '16 Oh I tried to do that. Turns out Chrome Stalls aren't security related. 1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
Stuff like this: https://www.google.com/about/appsecurity/chrome-rewards/index.html
1 u/lichorat Apr 13 '16 Oh I tried to do that. Turns out Chrome Stalls aren't security related. 1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
Oh I tried to do that. Turns out Chrome Stalls aren't security related.
1 u/Ilostmyredditlogin Apr 13 '16 Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit). 1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
Oh -- from what the first guy said, I thought it crashed the tab (which could indicate a bug to exploit).
1 u/lichorat Apr 13 '16 Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
Ah I see. Nah, it just hangs and then you can close the tab, but not interact with it.
28
u/auxiliary-character Apr 12 '16
I forget, does javascript have tail call recursion?