// 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.// Flags: --expose-gc --enable-slow-assertsa=newProxy([],{defineProperty(){b.length=1;gc();returnObject.defineProperty.apply(this,arguments);}});classMyArrayextendsArray{staticget[Symbol.species](){returnfunction(){returna;}};}b=newMyArray(65535);b[1]=0.1;c=Array.prototype.concat.call(b);gc();