/
githubmirror
/
jdk11u-dev
Обзор
Документация
Войти
/
githubmirror
/
jdk11u-dev
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/jdk/tools/jjs/scripting.js
18 строк
372 B
Erik Joelsson
8187443: Forest Consolidation: Move files to unified layout
12 сен 2017, 20:03
12 сен 2017, 20:03
3789983
Код
Авторство
О чём код?
/* * This is the test JavaScript program used in jjs-scriptingTest.sh */ var str = <<END Multi line string works in scripting END var n = "Nashorn"; var hello = "Hello, ${n}"; if (hello != "Hello, Nashorn") { throw new Error("string interpolation didn't work"); } if (typeof readFully != "function") { throw new Error("readFully is defined in -scripting"); }