Get all objects of a certain 'prototype' in JavaScript
<p>I have recently started messing about with JavaScript and building my own jQuery plugins and have stumbled on a problem when using prototypes (something I still don't quite understand but starting to get the gist of it). I have done a fairly detailed search for my problem and couldn't find anything so apologies if this is a dupe.</p>

<p>When the DOM loads I have it cycling through a set of elements and creates new <code>MyObject</code> objects out of these elements with functions defined in <code>MyObject.prototype</code>. Is it possible that in the console or a later time I could go through and retrieve all objects of the <code>MyObject</code> type?</p>

<p>Sorry if my descriptions don't make much sense I am new to the JavaScript world and the terminology escapes me a little.</p>
