comparison xml/en/docs/njs_about.xml @ 1867:e42f6c54ea5f

Added ES7 exponentiation operators support to "About nginScript".
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 20 Dec 2016 16:05:31 +0300
parents 543f654ce08a
children 82ef6dd12534
comparison
equal deleted inserted replaced
1866:6f2c5a36b4d1 1867:e42f6c54ea5f
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
8 8
9 <article name="About nginScript" 9 <article name="About nginScript"
10 link="/en/docs/njs_about.html" 10 link="/en/docs/njs_about.html"
11 lang="en" 11 lang="en"
12 rev="3"> 12 rev="4">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 nginScript is a subset of the JavaScript language that allows 17 nginScript is a subset of the JavaScript language that allows
38 Boolean values, numbers, strings, objects, arrays, 38 Boolean values, numbers, strings, objects, arrays,
39 functions, and regular expressions 39 functions, and regular expressions
40 </listitem> 40 </listitem>
41 41
42 <listitem> 42 <listitem>
43 ES5.1 operators 43 ES5.1 operators, ES7 exponentiation operators
44 </listitem> 44 </listitem>
45 45
46 <listitem> 46 <listitem>
47 ES5.1 statements: <literal>var</literal>, <literal>if</literal>, 47 ES5.1 statements: <literal>var</literal>, <literal>if</literal>,
48 <literal>else</literal>, <literal>switch</literal>, <literal>for</literal>, 48 <literal>else</literal>, <literal>switch</literal>, <literal>for</literal>,