зеркало из https://github.com/mozilla/pjs.git
fix bug 106831
This commit is contained in:
Родитель
58de3ef4d8
Коммит
6258e019ce
|
@ -110,7 +110,7 @@ example</a>. All it does it read a script from the command line, execute
|
|||
it, and print a result.
|
||||
<p>Here's an example use of RunScript from a shell command line:
|
||||
<blockquote>
|
||||
<pre><font color="#663366">$ java RunScript 'Math.cos(Math.PI)'
|
||||
<pre><font color="#663366">$ java RunScript "Math.cos(Math.PI)"
|
||||
-1
|
||||
$ java RunScript 'function f(x){return x+1} f(7)'
|
||||
8</font></pre>
|
||||
|
|
Загрузка…
Ссылка в новой задаче