By neil@onebahamas.com
via sitepen.com
Submitted: Mar 17 2008 / 22:22
But wouldn’t it be nice if we could just do this: var Child = sp.clone(Parent, { foo: "new value" });
It would certainly be a lot less painful and a lot prettier. By the end of this example, you’ll not only have this function available to be added to your code base, you’ll know how it works.
SaveShareSend
Tags: javascript
Add your comment