@[email protected] to Programmer [email protected]English • 2 months agoThe meaning of thislemmy.worldimagemessage-square71fedilinkarrow-up1481cross-posted to: [email protected]
arrow-up1481imageThe meaning of thislemmy.world@[email protected] to Programmer [email protected]English • 2 months agomessage-square71fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink3•2 months agoNot much experience, but quickly learned .bind() in JS after it switched me to window instead of object.
minus-square@[email protected]linkfedilinkEnglish2•2 months 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.