Closed ccoffey closed 8 years ago
In this example we define a single a function that uses this internally. The function is then assigned to different objects as property. The output the function produces depends on on which object the function is called (how it is called).
In this example we define a single
afunction that uses this internally. The function is then assigned to different objects as property. The output the function produces dependsonon which object the function is called (how it is called).