Tagged with oo

Javascript method context

In languages like C# and Java you never really need to give a thought to the this operator. In javascript things are a little more complicated due to functions being first class objects.
Published in Javascript, Web development on Sunday, November 29th, 2009

Javascript prototype chaining

Prototype chaining is used to build new types of objects based on existing ones. It has a very similar job to inheritance in a class based language.
Published in Javascript on Monday, August 17th, 2009