/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/test/mjsunit/string-oom-array-join.js
15 строк
365 B
Michaël Zasso
deps: update V8 to 6.2.414.32
19 окт 2017, 03:01
19 окт 2017, 03:01
3d1b3df
Код
Авторство
О чём код?
// 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: --allow-natives-syntax var a = "a".repeat(%StringMaxLength() / 10); var b = []; for (var i = 0; i < 11; i++) b.push(a); function join() { b.join(); } assertThrows(join, RangeError);