programmerhumor·Programmer Humorby☆ Yσɠƚԋσʂ ☆ JavaScript devs be likeView original on lemmy.ml96Comments11
TheInsane42 replylemmy.mlUnless 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)1
jjmsw22 replylemmy.mlTikTok has rotted my brain, all I can hear is this https://m.youtube.com/watch?v=gXk0QDcRwkU1
HHypnosis4162 lemmy.world1Hide 1 replyI code in Python. Can someone explain what is that magic require function here with a bunch of strings?4
beforan lemm.eeEither 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));2
ttony l.bxy.shIt doesn't look like condition is imported, only ifCondition so I'm not sure that will run1
Total shitpost. We use let now.
You mean
const.Const ipated = 1;
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)
This is art
TikTok has rotted my brain, all I can hear is this https://m.youtube.com/watch?v=gXk0QDcRwkU
I code in Python. Can someone explain what is that magic require function here with a bunch of strings?
it's how modules get loaded with node.js
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));It doesn't look like
conditionis imported, onlyifConditionso I'm not sure that will runis this node version 12?