Mercurial > hg > nginx-site
comparison xml/en/docs/njs_about.xml @ 1944:dbf6f05f0808
Removed closures from the list of not supported features in njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 29 Mar 2017 22:55:20 +0300 |
parents | 0227aa9b87de |
children | bbc167d437c2 |
comparison
equal
deleted
inserted
replaced
1943:96232cc8a0b7 | 1944:dbf6f05f0808 |
---|---|
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="6"> | 12 rev="7"> |
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 |
153 ES6 <literal>let</literal> and <literal>const</literal> declarations | 153 ES6 <literal>let</literal> and <literal>const</literal> declarations |
154 </listitem> | 154 </listitem> |
155 | 155 |
156 <listitem> | 156 <listitem> |
157 nested functions | 157 nested functions |
158 </listitem> | |
159 | |
160 <listitem> | |
161 closures | |
162 </listitem> | 158 </listitem> |
163 | 159 |
164 <listitem> | 160 <listitem> |
165 labels | 161 labels |
166 </listitem> | 162 </listitem> |