Jason Orendorff (2011-12-30T22:24:50.000Z)
domenic at domenicdenicola.com (2014-03-06T22:08:14.900Z)
No kidding. I need this method every time I write ECMAScript code. What I want is like: ```js Object.defineProperty(Array.prototype, "contains", { configurable: true, writable: true, value: function contains(x) { return this.indexOf(x) !== -1; } }); ``` except without the property lookup for indexOf.