Albin Jose to Programmer [email protected] • 2 years agoHow dare you ask this? Was it just to get into a programming memes page?suppo.fiimagemessage-square69fedilinkarrow-up1492
arrow-up1492imageHow dare you ask this? Was it just to get into a programming memes page?suppo.fiAlbin Jose to Programmer [email protected] • 2 years agomessage-square69fedilink
minus-square@[email protected]linkfedilink23•2 years agoIt would probably be way easier than expected to do so in javascript. It would also be awful.
minus-square@[email protected]linkfedilink16•edit-22 years agofor(var i=0; i \< numLoops; i++){ globalThis['example'+i] = doStuff(i); }
minus-square@[email protected]linkfedilink11•edit-22 years agofor(var i = 0; i < numLoops; i++) { eval("var_" + i + " = " + i + ";"); }
minus-square@[email protected]linkfedilinkEnglish9•2 years agoeval is a path to powers many would consider to be… unnatural
It would probably be way easier than expected to do so in javascript. It would also be awful.
eval
is a path to powers many would consider to be… unnaturalIs it possible to learn this power?
Not from ES6