of     1   

Sasayaki
#140992095Sunday, July 20, 2014 10:54 PM GMT

Does JavaScript work like Lua in the sense that var kk = true; while (kk) { kk = 5 }; Is this an infinite loop IN JAVASCRIPT NOT ROBLOX LUA.
cntkillme
#140992156Sunday, July 20, 2014 10:55 PM GMT

Yeah
Notunknown99
#140992237Sunday, July 20, 2014 10:56 PM GMT

Try it and see. But does JS really not have a ';' at the end of "kk = 5" but has one after the '}'? Also, you might get a comparison error (Or I do in Java)
Sasayaki
#140992682Sunday, July 20, 2014 11:01 PM GMT

I forgot the ; there And I dont want to test an infinite loop @Not ty @cnt.
cntkillme
#140992690Sunday, July 20, 2014 11:01 PM GMT

JS automatically inserts semi-colons for you
Notunknown99
#140992845Sunday, July 20, 2014 11:03 PM GMT

That's nice ;)
cntkillme
#140994700Sunday, July 20, 2014 11:22 PM GMT

Nah it's not. It makes inconsistent poop: If you like to program like this: function a() { } And want to be consistent and return an object: return {} HA you can't nerd
Notunknown99
#140995054Sunday, July 20, 2014 11:25 PM GMT

Oh, that's stupid :( TBO I like how you need them in Java, makes everything seem more logical ;)
cntkillme
#140995231Sunday, July 20, 2014 11:27 PM GMT

Can't you have as many semi-colons as you want in Java? system.out.println("blah");;;;; would work (last time I checked)
Notunknown99
#140996428Sunday, July 20, 2014 11:40 PM GMT

Yes, you can! :D
Sasayaki
#140996572Sunday, July 20, 2014 11:41 PM GMT

whats the point though
Notunknown99
#140996650Sunday, July 20, 2014 11:42 PM GMT

I have no idea! :D :D :D
cntkillme
#140996726Sunday, July 20, 2014 11:43 PM GMT

lol you can do the multi-semi-colon thing in javascript too. window.alert(666);;;;;;;;;;;;
Notunknown99
#140996823Sunday, July 20, 2014 11:43 PM GMT

But not Lua... Hm.
cntkillme
#140997244Sunday, July 20, 2014 11:48 PM GMT

But I tested this on the lua site: print(1);;; (http://www.lua.org/cgi-bin/demo)
Notunknown99
#140997378Sunday, July 20, 2014 11:49 PM GMT

Maybe its because its Lua 5.2 :P
cntkillme
#140997535Sunday, July 20, 2014 11:51 PM GMT

I don't see why they would make that a feature. God next time I obfuscate code, I know what I'm doing

    of     1