| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| The for-in Statement - the values of [[Enumerable]] attributes are |
| not considered when determining if a property of a prototype |
| object is shadowed by a previous object on the prototype chain |
| var ConstructFun = function () { }; |
| ConstructFun.prototype = proto; |
| var child = new ConstructFun(); |
| Object.defineProperty(child, "prop", { |
| value: "nonEnumerableValue", |
| var accessedProp = false; |
| assert.sameValue(accessedProp, false, 'accessedProp'); |