Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 the V8 project authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 function __f_0(a) { | |
| 6 var __v_3 = a + undefined; | |
| 7 var __v_0 = __v_3.substring(0, 20); | |
| 8 var __v_1 = {}; | |
| 9 __v_1[__v_3]; | |
| 10 return __v_0; | |
| 11 } | |
| 12 __v_4 = __f_0( "abcdefghijklmnopqrstuvwxyz"); | |
| 13 assertEquals("bcdefg", __v_4.substring(7, 1)); | |
| OLD | NEW |