Mercurial > hg > nginx-site
comparison xml/ru/docs/njs/compatibility.xml @ 2569:2edc64c05b0e
Removed ECMAScript methods from njs Reference.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 14 Jul 2020 16:44:46 +0100 |
parents | 45cb60b3b7b2 |
children | 88b4976778d2 |
comparison
equal
deleted
inserted
replaced
2568:aa015272ea32 | 2569:2edc64c05b0e |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Совместимость" | 9 <article name="Совместимость" |
10 link="/ru/docs/njs/compatibility.html" | 10 link="/ru/docs/njs/compatibility.html" |
11 lang="ru" | 11 lang="ru" |
12 rev="24" | 12 rev="25" |
13 toc="no"> | 13 toc="no"> |
14 | 14 |
15 <section> | 15 <section> |
16 | 16 |
17 <para> | 17 <para> |
19 <link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> | 19 <link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> |
20 (строгий режим) c некоторыми расширениями | 20 (строгий режим) c некоторыми расширениями |
21 <link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> | 21 <link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> |
22 и позже. | 22 и позже. |
23 Совместимость находится в стадии развития. | 23 Совместимость находится в стадии развития. |
24 </para> | |
25 | |
26 <para> | |
27 Описания методов и свойств, доступных только в njs | |
28 и не соответствующих стандарту ECMAScript, доступны в | |
29 <link doc="reference.xml">справочнике</link>. | |
30 Описания методов и свойств njs, | |
31 соответствующих стандарту, доступны в | |
32 <link url="http://www.ecma-international.org/ecma-262/">спецификации | |
33 ECMAScript</link>. | |
24 </para> | 34 </para> |
25 | 35 |
26 </section> | 36 </section> |
27 | 37 |
28 | 38 |
182 Методы <literal>String</literal>: | 192 Методы <literal>String</literal>: |
183 <list type="bullet"> | 193 <list type="bullet"> |
184 | 194 |
185 <listitem> | 195 <listitem> |
186 ES5.1: | 196 ES5.1: |
187 <link doc="reference.xml" id="string_fromcharcode"><literal>fromCharCode</literal></link> | 197 <literal>fromCharCode</literal> |
188 </listitem> | 198 </listitem> |
189 | 199 |
190 <listitem> | 200 <listitem> |
191 ES6: | 201 ES6: |
192 <link doc="reference.xml" id="string_fromcodepoint"><literal>fromCodePoint</literal></link> | 202 <literal>fromCodePoint</literal> |
193 </listitem> | 203 </listitem> |
194 </list> | 204 </list> |
195 | 205 |
196 </listitem> | 206 </listitem> |
197 | 207 |
199 Методы экземпляра класса <literal>String</literal>: | 209 Методы экземпляра класса <literal>String</literal>: |
200 <list type="bullet"> | 210 <list type="bullet"> |
201 | 211 |
202 <listitem> | 212 <listitem> |
203 ES5.1: | 213 ES5.1: |
204 <link doc="reference.xml" id="string_charat"><literal>charAt</literal></link>, | 214 <literal>charAt</literal>, |
205 <link doc="reference.xml" id="string_concat"><literal>concat</literal></link>, | 215 <literal>concat</literal>, |
206 <link doc="reference.xml" id="string_indexof"><literal>indexOf</literal></link>, | 216 <literal>indexOf</literal>>, |
207 <link doc="reference.xml" id="string_lastindexof"><literal>lastIndexOf</literal></link>, | 217 <literal>lastIndexOf</literal>, |
208 <link doc="reference.xml" id="string_match"><literal>match</literal></link>, | 218 <literal>match</literal>, |
209 <link doc="reference.xml" id="string_replace"><literal>replace</literal></link> | 219 <literal>replace</literal>, |
210 <link doc="reference.xml" id="string_search"><literal>search</literal></link>, | 220 <literal>search</literal>, |
211 <link doc="reference.xml" id="string_slice"><literal>slice</literal></link>, | 221 <literal>slice</literal>, |
212 <link doc="reference.xml" id="string_split"><literal>split</literal></link>, | 222 <literal>split</literal>, |
213 <link doc="reference.xml" id="string_substr"><literal>substr</literal></link>, | 223 <literal>substr</literal>, |
214 <link doc="reference.xml" id="string_substring"><literal>substring</literal></link>, | 224 <literal>substring</literal>, |
215 <link doc="reference.xml" id="string_tolowercase"><literal>toLowerCase</literal></link>, | 225 <literal>toLowerCase</literal>, |
216 <link doc="reference.xml" id="string_trim"><literal>trim</literal></link>, | 226 <literal>trim</literal>, |
217 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase</literal></link> | 227 <literal>toUpperCase</literal> |
218 </listitem> | 228 </listitem> |
219 | 229 |
220 <listitem> | 230 <listitem> |
221 ES6: | 231 ES6: |
222 <link doc="reference.xml" id="string_codepointat"><literal>codePointAt</literal></link>, | 232 <literal>codePointAt</literal>, |
223 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>, | 233 <literal>endsWith</literal>, |
224 <link doc="reference.xml" id="string_includes"><literal>includes</literal></link>, | 234 <literal>includes</literal>, |
225 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link>, | 235 <literal>repeat</literal>, |
226 <link doc="reference.xml" id="string_startswith"><literal>startsWith</literal></link> | 236 <literal>startsWith</literal> |
227 </listitem> | 237 </listitem> |
228 | 238 |
229 <listitem> | 239 <listitem> |
230 ES8: | 240 ES8: |
231 <link doc="reference.xml" id="string_padend"><literal>padEnd</literal></link>, | 241 <literal>padEnd</literal>, |
232 <link doc="reference.xml" id="string_padstart"><literal>padStart</literal></link> | 242 <literal>padStart</literal> |
233 </listitem> | 243 </listitem> |
234 | 244 |
235 <listitem> | 245 <listitem> |
236 ES9: | 246 ES9: |
237 <link doc="reference.xml" id="string_trimend"><literal>trimEnd</literal></link> | 247 <literal>trimEnd</literal> |
238 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>), | 248 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>), |
239 <link doc="reference.xml" id="string_trimstart"><literal>trimStart</literal></link> | 249 <literal>trimStart</literal> |
240 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>) | 250 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>) |
241 </listitem> | 251 </listitem> |
242 | 252 |
243 <listitem> | 253 <listitem> |
244 нестандартные: | 254 нестандартные: |
245 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> (0.2.3), | 255 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> |
256 (<link doc="changes.xml" id="njs0.2.3">0.2.3</link>), | |
246 <link doc="reference.xml" id="string_frombytes"><literal>fromBytes</literal></link>, | 257 <link doc="reference.xml" id="string_frombytes"><literal>fromBytes</literal></link>, |
247 <link doc="reference.xml" id="string_fromutf8"><literal>fromUTF8</literal></link>, | 258 <link doc="reference.xml" id="string_fromutf8"><literal>fromUTF8</literal></link>, |
248 <link doc="reference.xml" id="string_tobytes"><literal>toBytes</literal></link>, | 259 <link doc="reference.xml" id="string_tobytes"><literal>toBytes</literal></link>, |
249 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link> | 260 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link> |
250 </listitem> | 261 </listitem> |
283 (<link doc="changes.xml" id="njs0.3.7">0.3.7</link>) | 294 (<link doc="changes.xml" id="njs0.3.7">0.3.7</link>) |
284 </listitem> | 295 </listitem> |
285 | 296 |
286 <listitem> | 297 <listitem> |
287 ES8: | 298 ES8: |
288 <link doc="reference.xml" id="object_entries"><literal>entries</literal></link> | 299 <literal>entries</literal> |
289 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>), | 300 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>), |
290 <link doc="reference.xml" id="object_values"><literal>values</literal></link> | 301 <literal>values</literal> |
291 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) | 302 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) |
292 </listitem> | 303 </listitem> |
293 </list> | 304 </list> |
294 | 305 |
295 </listitem> | 306 </listitem> |
568 Методы <link doc="reference.xml" id="core_json"><literal>JSON</literal></link>: | 579 Методы <link doc="reference.xml" id="core_json"><literal>JSON</literal></link>: |
569 <list type="bullet"> | 580 <list type="bullet"> |
570 | 581 |
571 <listitem> | 582 <listitem> |
572 ES5.1: | 583 ES5.1: |
573 <link doc="reference.xml" id="core_json_parse"><literal>parse</literal></link>, | 584 <literal>parse</literal> |
574 <link doc="reference.xml" id="core_json_stringify"><literal>stringify</literal></link> | 585 <literal>stringify</literal> |
575 </listitem> | 586 </listitem> |
576 </list> | 587 </list> |
577 | 588 |
578 </listitem> | 589 </listitem> |
579 | 590 |
580 <listitem> | 591 <listitem> |
581 ES5.1 объект <literal>arguments</literal> (0.2.5) | 592 ES5.1 объект <literal>arguments</literal> |
593 (<link doc="changes.xml" id="njs0.2.5">0.2.5</link>) | |
582 </listitem> | 594 </listitem> |
583 | 595 |
584 <listitem> | 596 <listitem> |
585 ES6 синтаксис rest параметров (без поддержки деструктуризации) | 597 ES6 синтаксис rest параметров (без поддержки деструктуризации) |
586 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) | 598 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) |
587 </listitem> | 599 </listitem> |
588 | 600 |
589 <listitem> | 601 <listitem> |
590 ES5.1 глобальные функции: | 602 ES5.1 global functions: |
591 <link doc="reference.xml" id="decodeuri"><literal>decodeURI</literal></link>, | 603 <literal>decodeURI</literal>, |
592 <link doc="reference.xml" id="decodeuricomponent"><literal>decodeURIComponent</literal></link>, | 604 <literal>decodeURIComponent</literal>, |
593 <link doc="reference.xml" id="encodeuri"><literal>encodeURI</literal></link>, | 605 <literal>encodeURI</literal>, |
594 <link doc="reference.xml" id="encodeuricomponent"><literal>encodeURIComponent</literal></link>, | 606 <literal>encodeURIComponent</literal>, |
595 <literal>isFinite</literal>, | 607 <literal>isFinite</literal>, |
596 <literal>isNaN</literal>, | 608 <literal>isNaN</literal>, |
597 <literal>parseFloat</literal>, | 609 <literal>parseFloat</literal>, |
598 <literal>parseInt</literal> | 610 <literal>parseInt</literal> |
599 </listitem> | 611 </listitem> |
613 <listitem> | 625 <listitem> |
614 Функции | 626 Функции |
615 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> | 627 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> |
616 и | 628 и |
617 <link doc="reference.xml" id="settimeout"><literal>setTimeout</literal></link> | 629 <link doc="reference.xml" id="settimeout"><literal>setTimeout</literal></link> |
618 (0.2.0) | 630 (<link doc="changes.xml" id="njs0.2.0">0.2.0</link>) |
619 </listitem> | 631 </listitem> |
620 | 632 |
621 <listitem> | 633 <listitem> |
622 Методы <literal>File system</literal>: | 634 Методы <literal>File system</literal>: |
623 <link doc="reference.xml" id="fs_accesssync"><literal>fs.accessSync</literal></link> | 635 <link doc="reference.xml" id="fs_accesssync"><literal>fs.accessSync</literal></link> |
645 <literal>fs.promises</literal> API (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | 657 <literal>fs.promises</literal> API (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), |
646 асинхронная версия файловых методов file system. | 658 асинхронная версия файловых методов file system. |
647 </listitem> | 659 </listitem> |
648 | 660 |
649 <listitem> | 661 <listitem> |
650 Методы <literal>Crypto</literal> (0.2.0): | 662 Методы <literal>Crypto</literal> |
663 (<link doc="changes.xml" id="njs0.2.0">0.2.0</link>): | |
651 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, | 664 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, |
652 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> | 665 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> |
653 </listitem> | 666 </listitem> |
654 | 667 |
655 <listitem> | 668 <listitem> |