v8/test/mjsunit/regress/regress-crbug-685965.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
400 B
JavaScript
Raw Normal View History

// 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.
function __f_0(a) {
var __v_3 = a + undefined;
var __v_0 = __v_3.substring(0, 20);
var __v_1 = {};
__v_1[__v_3];
return __v_0;
}
__v_4 = __f_0( "abcdefghijklmnopqrstuvwxyz");
assertEquals("bcdefg", __v_4.substring(7, 1));