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

8 lines
285 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 _string = "foo";
var _trimLeft = true;
var _trimRight = true;
%StringTrim(_string, _trimLeft, _trimRight);