v8/test/mjsunit/runtime-gen/stringindexof.js

8 lines
273 B
JavaScript

// 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
var _sub = "foo";
var _pat = "foo";
var _index = new Object();
%StringIndexOf(_sub, _pat, _index);