// Copyright 2017 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.(functionTestModifedPrototypeInObjectLiteral(){// The prototype chain should not be used if the definition// happens in the object literal.Object.defineProperty(Object.prototype,'c',{get:function(){return21;},set:function(){}});varo={};o.c=7;assertEquals(21,o.c);varl={c:7};assertEquals(7,l.c);deleteObject.prototype.c;})();