@[email protected] to Programmer [email protected] • 2 years agoExam Answerprogramming.devimagemessage-square129arrow-up1797
arrow-up1786imageExam Answerprogramming.dev@[email protected] to Programmer [email protected] • 2 years agomessage-square129
minus-square@[email protected]linkfedilinkEnglish8•2 years agodoesnt have print nor allow variable declaration without keywords
minus-squareunalivejoylinkfedilinkEnglish25•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-square@[email protected]linkfedilink12•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-square@[email protected]linkfedilink9•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 []+[] ''
minus-square@[email protected]linkfedilinkEnglish5•2 years agoSure you can write foo = 3 in JavaScript. It’s a global variable and can be referenced as either foo or window.foo.
doesnt have
printnor allow variable declaration without keywordsprint()will print the text to a physical printer with paper and everything. Don’t confuse it withconsole.logand 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 !== 1truetrue + true + true === 3trueEverything is permitted
[]+[]''Sure you can write
foo = 3in JavaScript. It’s a global variable and can be referenced as eitherfooorwindow.foo.