c/programmerhumor · by yogthos@lemmy.ml · 3yJavaScript devs be like 96 points · 11 comments · view on lemmy.world
11 Comments
BrianTheeBiscuiteer@lemmy.world · 17 pts · 3y
Total shitpost. We use let now.
Dirk@lemmy.ml · 4 pts · 3y
You mean
const.Crackhappy@lemmy.world · 1 pts · 3y
Const ipated = 1;
TheInsane42@lemmy.ml · 1 pts · 3y
Unless you code for an ancient java class that includes js code... (yuck)
No, no rewrite, it's going to de replaced soon(tm)... (like the cobol code)
HoornseBakfiets@feddit.nl · 16 pts · 3y
ditherwither@lemmy.world · 5 pts · 3y
This is art
jmsw22@lemmy.ml · 1 pts · 3y
TikTok has rotted my brain, all I can hear is this https://m.youtube.com/watch?v=gXk0QDcRwkU
Hypnosis4162@lemmy.world · 4 pts · 3y
I code in Python. Can someone explain what is that magic require function here with a bunch of strings?
yogthos@lemmy.ml · 0 pts · 3y
it's how modules get loaded with node.js
beforan@lemm.ee · 2 pts · 3y
Either that for the sweet sweet
node_modules, or this for the code golf:Array(100).fill().forEach((_, n) => console.log((++n % 3 ? "" : "Fizz") + (n % 5 ? "" : "Buzz") || n));tony@l.bxy.sh · 1 pts · 3y
It doesn't look like
conditionis imported, onlyifConditionso I'm not sure that will runmorose_coder@lemmy.world · 1 pts · 3y
is this node version 12?