Sorry, this video is for subscribers only.

Click here to subscribe!

Radical Simplification

We continue simplifying and improving our HtmlElement class. By taking advantage of JavaScript’s first-class functions, we’re able to radically simplify the class’s repetitive method declarations. We actually define the methods by calling functions that return our method functions.

comments powered by Disqus