1KJS5(1) Programming Tool KJS5(1)
2
3
4
6 kjs5 - KDE ECMAScript compatible interpreter
7
9 kjs5 [[--help] | [-help] | [-h]] [[--version] | [-version] | [-v]]
10 [[-e statement]] [script]
11
13 kjs is KDE ECMAScript/JavaScript engine.
14
16 --help,-help,-h
17 Show kjs5 usage.
18
19 --version,-version,-v
20 Show kjs5 version.
21
22 -e statement
23 Executes the statement and exits. For example:
24
25 kjs5 -e "print('hello world')"
26
27 script
28 Executes the statements included in file script.
29
31 kjs5 file, as many other interpreters, when called without parameters
32 uses a line editor to enter statements, showing the prompt
33
34 JS>
35
36 To exit the line editor type quit() or press Ctrl+D.
37
39 kjscmd5(1)
40
42 Please use KDE's bugtracker[1] to report bugs.
43
45 Harri Porten <porten@kde.org>
46 Author.
47
49 1. KDE's bugtracker
50 http://bugs.kde.org
51
52
53
54KDE Frameworks Frameworks 5.0 2014-05-04 KJS5(1)