JPDev@programming.dev to Programmer Humor@programming.dev · 2 years agoExam Answerprogramming.devimagemessage-square78fedilinkarrow-up1658arrow-down19
arrow-up1649arrow-down1imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square78fedilink
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up14arrow-down1·2 years agoJavaScript has [string].length
minus-squarebreadsmasher@lemmy.worldlinkfedilinkEnglisharrow-up7arrow-down3·2 years agodoesnt have print nor allow variable declaration without keywords
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up19·2 years agoprint() will print the text to a physical printer with paper and everything. Don’t confuse it with console.log and use it in a loop.
minus-squaretourist@lemmy.worldlinkfedilinkarrow-up5·2 years agoit’s so rough learning this by accident
minus-squareDowncount@lemmy.worldlinkfedilinkarrow-up9·edit-22 years agoIt would have print if it was previously declared as function. Also, js is as dirty as you want it to be. Keywords are indeed not necessary for declaring variables.
minus-squarekautau@lemmy.worldlinkfedilinkarrow-up6·edit-22 years agoJavaScript is the language of the assassins, with its infinitely modifiable prototypical setup Nothing is true true !== 1 true true + true + true === 3 true Everything is permitted []+[] ''
JavaScript has
[string].length
doesnt have
print
nor allow variable declaration without keywordsprint()
will print the text to a physical printer with paper and everything. Don’t confuse it withconsole.log
and use it in a loop.it’s so rough learning this by accident
It would have print if it was previously declared as function.
Also, js is as dirty as you want it to be. Keywords are indeed not necessary for declaring variables.
JavaScript is the language of the assassins, with its infinitely modifiable prototypical setup
Nothing is true
true !== 1
true
true + true + true === 3
true
Everything is permitted
[]+[]
''