Skip to content

Instantly share code, notes, and snippets.

@mklabs
Created October 13, 2010 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mklabs/623984 to your computer and use it in GitHub Desktop.
Save mklabs/623984 to your computer and use it in GitHub Desktop.
// 4: given the following code, and assuming that each defined object has a
// 'destroy' method, how would you destroy all of the objects contained in the
// myObjects object?
var myObjects = {
thinger : new myApp.Thinger(),
gizmo : new myApp.Gizmo(),
widget : new myApp.Widget()
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment