kjs5 - Man Page

KDE ECMAScript compatible interpreter

Synopsis

kjs5 [[--help] | [-help] | [-h]] [[--version] | [-version] | [-v]] [[-e statement]] [script]

Description

kjs is KDE ECMAScript/JavaScript engine.

Application Options

--help,-help,-h

Show kjs5 usage.

--version,-version,-v

Show kjs5 version.

-e statement

Executes the statement and exits. For example:

kjs5 -e "print('hello world')"
script

Executes the statements included in file script.

Usage

kjs5 file, as many other interpreters, when called without parameters uses a line editor to enter statements, showing the prompt

JS>

To exit the line editor type quit() or press Ctrl+D.

See Also

kjscmd5(1)

Bugs

Please use KDE's bugtracker[1] to report bugs.

Author

Harri Porten <porten@kde.org>

Author.

Notes

1.

KDE's bugtracker
http://bugs.kde.org

Referenced By

kf5kross(1), kjscmd5(1).

2014-05-04 KDE Frameworks Frameworks 5.0 Programming Tool