Re:Hamsa – A simple data-binding and observable model
by rsuelzer on Sunday March 22, 2015 @12:08PM
(#9247230)
As an aside around dealing with properties that don't exist yet, I have found the following pattern very useful. It greatly reduces the number of checks I have to do in an if statement and has made my code more maintainable by reducing the amount of boilerplate code I need to write inside of functions.
http://adripofjavascript.com/blog/drips/making-deep-property...