// Copyright 2013 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.functionA(){Object.defineProperty(this,"x",{set:function(){},get:function(){}});this.a=function(){return1;}}functionB(){A.apply(this);this.a=function(){return2;}}varb=newB();assertTrue(Object.getOwnPropertyDescriptor(b,"a").enumerable);