JPDev@programming.dev to Programmer Humor@programming.dev · 8 months agoExam Answerprogramming.devimagemessage-square25fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 8 months agomessage-square25fedilink
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up0·8 months agoJavaScript has [string].length
minus-squarebreadsmasher@lemmy.worldlinkfedilinkEnglisharrow-up0·8 months agodoesnt have print nor allow variable declaration without keywords
minus-squarebleistift2@feddit.delinkfedilinkEnglisharrow-up0·8 months agoSure you can write foo = 3 in JavaScript. It’s a global variable and can be referenced as either foo or window.foo.
JavaScript has
[string].length
doesnt have
print
nor allow variable declaration without keywordsSure you can write
foo = 3
in JavaScript. It’s a global variable and can be referenced as eitherfoo
orwindow.foo
.