summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js
blob: ad2b6e67d9ef7bb30748ecbbc8719e0f472c7d7f (plain)
1
2
3
4
5
6
7
8
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
var _regexp = /ab/g;
var _replacement = "foo";
var arg3 = ['a'];
%StringReplaceGlobalRegExpWithString(_subject, _regexp, _replacement, arg3);