Mercurial > hg > nginx-site
comparison xml/en/docs/njs_about.xml @ 2229:f134633cff5c
Added info about ES5.1 strict mode for njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 29 Aug 2018 21:48:00 +0300 |
parents | 821807549005 |
children |
comparison
equal
deleted
inserted
replaced
2228:4ca432d98636 | 2229:f134633cff5c |
---|---|
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="About njs" | 9 <article name="About njs" |
10 link="/en/docs/njs_about.html" | 10 link="/en/docs/njs_about.html" |
11 lang="en" | 11 lang="en" |
12 rev="21"> | 12 rev="22"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 njs is a subset of the JavaScript language that allows | 17 njs is a subset of the JavaScript language that allows |
18 implementing location and variable handlers in | 18 implementing location and variable handlers in |
19 <link doc="http/ngx_http_js_module.xml">http</link> and | 19 <link doc="http/ngx_http_js_module.xml">http</link> and |
20 <link doc="stream/ngx_stream_js_module.xml">stream</link>. | 20 <link doc="stream/ngx_stream_js_module.xml">stream</link>. |
21 njs is created in compliance with | 21 njs is created in compliance with |
22 <link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> | 22 <link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> |
23 with some | 23 (strict mode) with some |
24 <link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> | 24 <link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> |
25 extensions. | 25 extensions. |
26 The compliance is still evolving. | 26 The compliance is still evolving. |
27 </para> | 27 </para> |
28 | 28 |