logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

jsc - command-line JavaScript interpreter.

Author

       This   manual  page  was  written  by  Alberto  Garcia  <berto@igalia.com>,  based  on  the  contents  of
       http://trac.webkit.org/wiki/JSC.

                                                  Jan 21, 2014                                            jsc(1)

Description

       This manual page documents briefly the jsc command.

       jsc  is a command-line utility that allows you to run JavaScript programs outside of the context of a web
       browser. It is primarily used as part of the test harness  for  validating  the  JavaScript  portions  of
       WebKit, but can also be used as a scripting tool.

       jsc can be run in an interactive mode to test out JavaScript expressions, or it can be passed one or more
       files to run similar to invoking a Perl or Python script.

Name

       jsc - command-line JavaScript interpreter.

Options

-e     Evaluate argument as script code.

       -f     Specifies a source file (deprecated).

       -h,--help
              Shows summary of command-line options.

       -i     Enables interactive mode (default if no files are specified).

       -pfile
              Outputs profiling data to a file.

       -s     Installs signal handlers that exit on a crash.

       -x     Output exit code before terminating.

       --options
              Dumps all JSC VM options and exits.

       --dumpOptions
              Dumps all JSC VM options before continuing.

       --<jscVMoption>=<value>
              Sets the specified JSC VM option.

Synopsis

jsc [options] [files] [--arguments]

See Also