2Exam Answer(programming.dev)posted 8 months ago byJPDev@programming.devin programmer_humor@programming.devView comments25 commentssavehidereportSort:HotTopControversialNewOldYou are viewing a single thread.View all comments View context [ +- ]breadsmasher@lemmy.world0 points8 months agodoesnt have print nor allow variable declaration without keywords permalinksavereportparentreply[ +- ]bleistift2@feddit.de0 points8 months agoSure you can write foo = 3 in JavaScript. It’s a global variable and can be referenced as either foo or window.foo. permalinksavereportparentreply