http://www.w3schools.com/jsref/jsref_obj_array.asp
Anonymous
http://www.shamasis.net/2009/09/fast-algorithm-to-find-unique-items-in-javascript-array/
When you must fail, fail noisily and as soon as possible.