| Summary: | Отсутствует функция print. Нельзя вывести результат | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | obidinog <obidinog> |
| Component: | libduktape | Assignee: | Vitaly Lipatov <lav> |
| Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P5 | CC: | lav, zerg |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
Я как понимаю он отдельно собирается https://github.com/svaarala/duktape/tree/master/extras/print-alert судя по https://duktape.org/guide (Ответ для obidinog@basealt.ru на комментарий #1) > https://github.com/svaarala/duktape/tree/master/extras/print-alert "The default print() and alert() built-ins were removed in Duktape 2.x because they depended on stdout/stderr and were thus a portability issue for some targets." |
Платформа: p10-kworkstation-10.2.1-x86-64 - обновленный до Sisyphus Пакет: libduktape 2.7.0-alt2 Шаги: Выполнить пример $ duk duk> print('Hello World!') Результат: Отсутствует функция print ReferenceError: identifier 'print' undefined at [anon] (duk_js_var.c:1234) internal at global (input:1) preventsyield