/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/test/mjsunit/regexp-stack-overflow.js
18 строк
364 B
Chris Dickinson
deps: update v8 to 4.3.61.21
04 авг 2015, 21:56
04 авг 2015, 21:56
d58e780
Код
Авторство
О чём код?
// Copyright 2015 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: --stack-size=100 var re = /\w/; re.test("a"); // Trigger regexp compile. function rec() { try { return rec(); } catch (e) { return re.test("b"); } } assertTrue(rec());