/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/test/mjsunit/function-length-accessor.js
35 строк
1 KB
Chris Dickinson
deps: update v8 to 4.3.61.21
04 авг 2015, 21:56
04 авг 2015, 21:56
d58e780
Код
Авторство
О чём код?
// Copyright 2014 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. // Flags: --lazy function foo(a, b, c, d) { "use strict" const x = 10; // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. // long comment to trigger lazy compilation. x = 20; // This will trigger compile error with harmony scoping. } assertThrows("foo.length()");