+ 1
Would this code work?
I was wondering if this simple JS code would work. SoloLearn gives a useful chart list of the names you can't assign to a variable. For instance: var byte = "Hello Galaxy!"; document.write(byte); Would not work. Byte is a name you can't name a variable. But would this work?: var bytes = "Hello Galaxy 2"; document.write(bytes); Since bytes is different from byte, would it work? I know it gives the same meaning, but would the plural work? Or maybe 'abstractclass'?
3 Answers
+ 13
Both would work.
+ 1
I tryied it, both of them works =)
+ 1
Cristallya â„ Valen.H. ~ thank you both!