| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| ES5 Attributes - Inherited property whose [[Enumerable]] attribute |
| is set to false is non-enumerable (Function.prototype.bind) |
| var foo = function () { }; |
| Object.defineProperty(Function.prototype, "prop", { |
| var verifyEnumerable = false; |
| assert.sameValue(obj.hasOwnProperty("prop"), false, 'obj.hasOwnProperty("prop")'); |
| assert.sameValue(verifyEnumerable, false, 'verifyEnumerable'); |