Aha! I remember some talk about this one (here I think) - thanks for reminding me, I think this is what I need/can use
On Sep 15, 11:21 pm, Ryan Florence <[email protected]> wrote: > { f: 'b' } == { f: 'b' } // => false > > Is that what you're trying to test? If so, check this out: > > http://github.com/ShiftSpace/set > > On Sep 15, 2010, at 3:03 PM, Rolf -nl wrote: > > > > > I have an array with objects and I want to check if the array contains > > a specific object or not (e.g. to find out if I need to add it or not, > > depending on the fact its already in it or not) > > > array.contains doesn't work as you know or can see here: > >http://www.jsfiddle.net/TjBp2/ > > > ..but what is the fastest way to do such a thing? > > > TIA
