
JSJ 449: The Things Every JavaScript Developer Must Know
JavaScript Jabber
00:00
How Do You Share Functionality Between Different Objects?
In most cases i effectively use closures. But i'm just osers in higher order functions. The approach that i like to take is the value object approach, or the jason approach. So my vr p equals person dot, create p is just jason. I can jason dot string fi, jason dot pars. And then i pass p, essentially almost, you know, like the way you'd have this or self in a language like python.
Transcript
Play full episode