JPDev@programming.dev to Programmer Humor@programming.dev · 6 months agoExam Answerprogramming.devimagemessage-square111fedilinkarrow-up1407arrow-down15
arrow-up1402arrow-down1imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 6 months agomessage-square111fedilink
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up4·6 months 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-up1·6 months agoit’s so rough learning this by accident
minus-squareDowncount@lemmy.worldlinkfedilinkarrow-up2·edit-26 months 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-up5·edit-26 months 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 []+[] ''
Removed by mod
print()
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
[]+[]
''