kjs man page

kjs — KDE ECMAScript compatible interpreter

Synopsis

kjs [[--help] | [-help] | [-h]] [[-e statement]] [script]

Description

kjs is KDE ECMAScript/JavaScript engine.

Application Options

--help,-help,-h

Show kjscmd usage.

-e statement

Executes the statement and exits. For example:

kjs -e "print('hello world')"

script

Executes the statements included in file script.

Usage

kjs 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

kjs(1)

Bugs

There are probably tons of bugs. Use bugs.kde.org[1] to report them.

Author

Harri Porten <porten@kde.org>

Author.

Notes

1.

bugs.kde.org

Referenced By

kjscmd(1), kross(1).

2008-10-15 0.01.01 KDE User's Manual