siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agothe hardest exam questionlemmy.mlimagemessage-square147fedilinkarrow-up1727arrow-down123
arrow-up1704arrow-down1imagethe hardest exam questionlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agomessage-square147fedilink
minus-squareinetknght@lemmy.mllinkfedilinkarrow-up5·7 months ago It’s also not a scripting language. It definitely is a scripting language. hello-world.js: #!/usr/bin/env node console.log("Hello world"); Your favorite command line tool: chmod +x ./hello-world.js ./hello-world.js You just need to install npm, eg via apt-get install npm.
minus-squareKillingTimeItself@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up3arrow-down1·7 months agoeverything is a scripting language if you try hard enough.
It definitely is a scripting language.
hello-world.js
:#!/usr/bin/env node console.log("Hello world");
Your favorite command line tool:
chmod +x ./hello-world.js ./hello-world.js
You just need to install
npm
, eg viaapt-get install npm
.everything is a scripting language if you try hard enough.