bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish · 3 days agoThe meaning of thisimagemessage-square67linkfedilinkarrow-up1534arrow-down113
arrow-up1521arrow-down1imageThe meaning of thisbestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square67linkfedilink
minus-squareDemdaru@lemmy.worldlinkfedilinkarrow-up5arrow-down1·3 days agoNot much experience, but quickly learned .bind() in JS after it switched me to window instead of object.
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up2·3 days agoThe key is to not reassign function names to local variables. const print = obj.toString print() // gives you a bad time
Not much experience, but quickly learned .bind() in JS after it switched me to window instead of object.
The key is to not reassign function names to local variables.
const print = obj.toString print() // gives you a bad time