JPDev@programming.dev to Programmer Humor@programming.dev · 1 year agoExam Answerprogramming.devimagemessage-square78fedilinkarrow-up1658arrow-down19
arrow-up1649arrow-down1imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square78fedilink
minus-squarebreadsmasher@lemmy.worldlinkfedilinkEnglisharrow-up7arrow-down3·1 year agodoesnt have print nor allow variable declaration without keywords
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up19·1 year 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·1 year agoit’s so rough learning this by accident
minus-squareDowncount@lemmy.worldlinkfedilinkarrow-up9·edit-21 year 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-21 year 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 []+[] ''
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
[]+[]
''