No-Library (pure JS), HTML, CSS, JavaScript
show that object properties can be set
jQuery 1.6.2, HTML, CSS, JavaScript
what happens when we try to resolve a promise that is already resolved?
a deferred pattern where you provide an original callback but then can change the value returned (if the promise is still pending)... resolving with functions as args. e.g. resolve( fn );
a deferred pattern where you provide an original callback but then can change the value returned (if the promise is still pending)...