Mercurial > hg > nginx-site
comparison xml/en/docs/njs/compatibility.xml @ 2333:fb5e1d2d4c75
Removed "Not supported" section, updated defineProperty in njs Compatibility.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 26 Feb 2019 18:23:25 +0300 |
parents | 1a6524706c70 |
children | a72bd8324c0b |
comparison
equal
deleted
inserted
replaced
2332:9d502d4305ac | 2333:fb5e1d2d4c75 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Compatibility" | 9 <article name="Compatibility" |
10 link="/en/docs/njs/compatibility.html" | 10 link="/en/docs/njs/compatibility.html" |
11 lang="en" | 11 lang="en" |
12 rev="6"> | 12 rev="7" |
13 toc="no"> | |
13 | 14 |
14 <section> | 15 <section> |
15 | 16 |
16 <para> | 17 <para> |
17 njs is created in compliance with | 18 njs is created in compliance with |
109 <list type="bullet"> | 110 <list type="bullet"> |
110 <listitem> | 111 <listitem> |
111 ES5.1: | 112 ES5.1: |
112 <literal>create</literal> (support without properties list), | 113 <literal>create</literal> (support without properties list), |
113 <literal>keys</literal>, | 114 <literal>keys</literal>, |
114 <literal>defineProperty</literal>, | 115 <literal>defineProperty</literal> (support without accessor descriptors), |
115 <literal>defineProperties</literal>, | 116 <literal>defineProperties</literal> (support without accessor descriptors), |
116 <literal>getOwnPropertyDescriptor</literal>, | 117 <literal>getOwnPropertyDescriptor</literal>, |
117 <literal>getPrototypeOf</literal>, | 118 <literal>getPrototypeOf</literal>, |
118 <literal>hasOwnProperty</literal>, | 119 <literal>hasOwnProperty</literal>, |
119 <literal>isPrototypeOf</literal>, | 120 <literal>isPrototypeOf</literal>, |
120 <literal>preventExtensions</literal>, | 121 <literal>preventExtensions</literal>, |
215 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> | 216 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> |
216 functions (0.2.0) | 217 functions (0.2.0) |
217 </listitem> | 218 </listitem> |
218 | 219 |
219 <listitem> | 220 <listitem> |
220 <link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link> | |
221 <literal>File system</literal> methods: | 221 <literal>File system</literal> methods: |
222 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, | 222 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, |
223 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, | 223 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, |
224 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> | 224 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> |
225 </listitem> | 225 </listitem> |
226 | 226 |
227 <listitem> | 227 <listitem> |
228 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
229 <literal>Crypto</literal> methods (0.2.0): | 228 <literal>Crypto</literal> methods (0.2.0): |
230 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, | 229 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, |
231 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> | 230 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> |
232 </listitem> | 231 </listitem> |
233 | 232 |
234 </list> | 233 </list> |
235 </para> | 234 </para> |
236 | 235 |
237 </section> | 236 </section> |
238 | 237 |
239 | |
240 <section id="not_supported" name="What is not supported yet"> | |
241 | |
242 <para> | |
243 <list type="bullet"> | |
244 | |
245 <listitem> | |
246 ES6 <literal>let</literal> and <literal>const</literal> declarations | |
247 </listitem> | |
248 | |
249 <listitem> | |
250 labels | |
251 </listitem> | |
252 | |
253 <listitem> | |
254 <literal>eval</literal> function | |
255 </listitem> | |
256 | |
257 <listitem> | |
258 <literal>new Function()</literal> constructor | |
259 </listitem> | |
260 | |
261 <listitem> | |
262 <literal>setInterval</literal>, | |
263 <literal>setImmediate</literal> functions | |
264 </listitem> | |
265 | |
266 </list> | |
267 </para> | |
268 | |
269 </section> | |
270 | |
271 </article> | 238 </article> |
272 | 239 |