Bug 50835 - 'print' undefined
Summary: 'print' undefined
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: duktape (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-05 10:18 MSK by Sergey V Turchin
Modified: 2024-07-08 10:26 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V Turchin 2024-07-05 10:18:50 MSK
Попытка выполнить простой пример приводит к ошибке 
В README.rst написано:
$ duk
  ((o) Duktape
  duk> print('Hello world!');
. Попытка это сделать приводит не к
  Hello world!
  = undefined
, а к
ReferenceError: identifier 'print' undefined
    at [anon] (duk_js_var.c:1236) internal
    at global (input:1) preventsyield
Comment 1 Repository Robot 2024-07-07 07:25:00 MSK
libduktape-2.7.0-alt3 -> sisyphus:

 Sun Jul 07 2024 Vitaly Lipatov <lav@altlinux.ru> 2.7.0-alt3
 - build cmdline duk with useful extra modules (ALT bug #50835)