How does this code make you feel?pic.twitter.com/8asR3dzRJ1
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Guess I could do as you say and then iterate over all the exported classes
personally i’d use an event emitter to report new instances back to wherever you’re tracking them, to avoid GC breakage.
oh I like that!
Use a weakmap? You can't iterate it... so never mind. It makes me uncomfortable not being able to destroy things safely. Jed had a good idea.
just make sure to add pokemon
const things = new Things(); const thing = things.createThing(); console.log(things.allThings); // = [Thing] Does that make sense?
things.prototype.createThing = () => { const thing = new Thing(); this.allThings.push(thing); return thing; }
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.