// 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.// Changes the map of obj.functionmutateObjectOnStringConversion(obj){return{toString:()=>{obj.x=42;return"";}};}{constre=/./;re.exec(mutateObjectOnStringConversion(re));}{constre=/./;re.test(mutateObjectOnStringConversion(re));}{constre=/./;re[Symbol.match](mutateObjectOnStringConversion(re));}{constre=/./;re[Symbol.search](mutateObjectOnStringConversion(re));}{constre=/./;re[Symbol.split](mutateObjectOnStringConversion(re));}{constre=/./;re[Symbol.replace](mutateObjectOnStringConversion(re));}