siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 8 months agothe hardest exam questionlemmy.mlimagemessage-square146fedilinkarrow-up1743arrow-down123
arrow-up1720arrow-down1imagethe hardest exam questionlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 8 months agomessage-square146fedilink
minus-squareinetknght@lemmy.mllinkfedilinkarrow-up5·8 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·8 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.