Mercurial > hg > nginx-site
annotate xml/ru/docs/njs/compatibility.xml @ 2414:3b7223f9aac8
njs-0.3.4
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 13 Aug 2019 18:09:40 +0300 |
parents | dbf68c949522 |
children | 32b945768dea |
rev | line source |
---|---|
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
2 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
3 <!-- |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
4 Copyright (C) Nginx, Inc. |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
5 --> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
6 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
8 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
9 <article name="Совместимость" |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
10 link="/ru/docs/njs/compatibility.html" |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
11 lang="ru" |
2414 | 12 rev="18" |
2333
fb5e1d2d4c75
Removed "Not supported" section, updated defineProperty in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
13 toc="no"> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
14 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
15 <section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
16 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
17 <para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
18 njs совместим с |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
19 <link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
20 (строгий режим) c некоторыми расширениями |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
21 <link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
22 и позже. |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
23 Совместимость находится в стадии развития. |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
24 </para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
25 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
26 </section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
27 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
28 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
29 <section id="supported" name="Готовая функциональность"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
30 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
31 <para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
32 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
33 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
34 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
35 Логические значения, числа, строки, объекты, массивы, |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
36 функции и регулярные выражения |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
37 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
38 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
39 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
40 ES5.1 операторы, ES7 операторы возведения в степень |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
41 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
42 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
43 <listitem> |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
44 ES5.1 инструкции: |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
45 <literal>break</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
46 <literal>catch</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
47 <literal>continue</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
48 <literal>do while</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
49 <literal>else</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
50 <literal>finally</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
51 <literal>for</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
52 <literal>for in</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
53 <literal>if</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
54 <literal>return</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
55 <literal>switch</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
56 <literal>throw</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
57 <literal>try</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
58 <literal>var</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
59 <literal>while</literal>, |
2339
a72bd8324c0b
Added njs labeled statements to Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2337
diff
changeset
|
60 инструкции меток (labels) (<link doc="changes.xml" id="njs0.2.8">0.2.8</link>) |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
61 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
62 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
63 <listitem> |
2398
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
64 ES6 методы и свойства <literal>Math</literal>: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
65 <literal>E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
66 <literal>LN10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
67 <literal>LN2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
68 <literal>LOG10E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
69 <literal>LOG2E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
70 <literal>PI</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
71 <literal>SQRT1_2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
72 <literal>SQRT2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
73 <literal>__proto__</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
74 <literal>abs</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
75 <literal>acos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
76 <literal>acosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
77 <literal>asin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
78 <literal>asinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
79 <literal>atan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
80 <literal>atan2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
81 <literal>atanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
82 <literal>cbrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
83 <literal>ceil</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
84 <literal>clz32</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
85 <literal>cos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
86 <literal>cosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
87 <literal>exp</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
88 <literal>expm1</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
89 <literal>floor</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
90 <literal>fround</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
91 <literal>hypot</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
92 <literal>imul</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
93 <literal>log</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
94 <literal>log10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
95 <literal>log1p</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
96 <literal>log2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
97 <literal>max</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
98 <literal>min</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
99 <literal>pow</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
100 <literal>random</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
101 <literal>round</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
102 <literal>sign</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
103 <literal>sin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
104 <literal>sinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
105 <literal>sqrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
106 <literal>tan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
107 <literal>tanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
108 <literal>trunc</literal> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
109 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
110 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
111 <listitem> |
2399
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
112 ES6 методы и свойства <literal>Number</literal>: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
113 <literal>EPSILON</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
114 <literal>MAX_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
115 <literal>MAX_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
116 <literal>MIN_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
117 <literal>MIN_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
118 <literal>NEGATIVE_INFINITY</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
119 <literal>NaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
120 <literal>POSITIVE_INFINITY</literal> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
121 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
122 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
123 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
124 ES6 методы <literal>Number</literal>: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
125 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
126 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
127 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
128 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
129 ES6 методы и свойства <literal>Number</literal>: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
130 <literal>isFinite</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
131 <literal>isInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
132 <literal>isNaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
133 <literal>isSafeInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
134 <literal>parseFloat</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
135 <literal>parseInt</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
136 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
137 |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
138 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
139 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
140 Методы <literal>String</literal>: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
141 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
142 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
143 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
144 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
145 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
146 <link doc="reference.xml" id="string_fromcharcode"><literal>fromCharCode</literal></link> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
147 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
148 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
149 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
150 ES6: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
151 <link doc="reference.xml" id="string_fromcodepoint"><literal>fromCodePoint</literal></link> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
152 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
153 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
154 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
155 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
156 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
157 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
158 Методы экземпляра класса <literal>String</literal>: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
159 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
160 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
161 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
162 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
163 <link doc="reference.xml" id="string_charat"><literal>charAt</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
164 <link doc="reference.xml" id="string_concat"><literal>concat</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
165 <link doc="reference.xml" id="string_indexof"><literal>indexOf</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
166 <link doc="reference.xml" id="string_lastindexof"><literal>lastIndexOf</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
167 <link doc="reference.xml" id="string_match"><literal>match</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
168 <link doc="reference.xml" id="string_replace"><literal>replace</literal></link> |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
169 <link doc="reference.xml" id="string_search"><literal>search</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
170 <link doc="reference.xml" id="string_slice"><literal>slice</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
171 <link doc="reference.xml" id="string_split"><literal>split</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
172 <link doc="reference.xml" id="string_substr"><literal>substr</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
173 <link doc="reference.xml" id="string_substring"><literal>substring</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
174 <link doc="reference.xml" id="string_tolowercase"><literal>toLowerCase</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
175 <link doc="reference.xml" id="string_trim"><literal>trim</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
176 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
177 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
178 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
179 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
180 ES6: |
2271
34a1901e663d
Described charAt, codePointAt, fromCharCode in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2269
diff
changeset
|
181 <link doc="reference.xml" id="string_codepointat"><literal>codePointAt</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
182 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
183 <link doc="reference.xml" id="string_includes"><literal>includes</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
184 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
185 <link doc="reference.xml" id="string_startswith"><literal>startsWith</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
186 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
187 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
188 <listitem> |
2269
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
189 ES8: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
190 <link doc="reference.xml" id="string_padend"><literal>padEnd</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
191 <link doc="reference.xml" id="string_padstart"><literal>padStart</literal></link> |
2269
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
192 </listitem> |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
193 |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
194 <listitem> |
2414 | 195 ES9: |
196 <link doc="reference.xml" id="string_trimend"><literal>trimEnd</literal></link> | |
197 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>), | |
198 <link doc="reference.xml" id="string_trimstart"><literal>trimStart</literal></link> | |
199 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>) | |
200 </listitem> | |
201 | |
202 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
203 нестандартные: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
204 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> (0.2.3), |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
205 <link doc="reference.xml" id="string_frombytes"><literal>fromBytes</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
206 <link doc="reference.xml" id="string_fromutf8"><literal>fromUTF8</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
207 <link doc="reference.xml" id="string_tobytes"><literal>toBytes</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
208 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
209 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
210 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
211 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
212 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
213 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
214 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
215 Методы <literal>Object</literal>: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
216 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
217 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
218 ES5.1: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
219 <literal>create</literal> (поддержка без списка свойств), |
2414 | 220 <literal>defineProperties</literal> (поддержка дескрипторов доступа |
221 начиная с версии <link doc="changes.xml" id="njs0.3.3">0.3.3</link>), | |
222 <literal>defineProperty</literal> (поддержка дескрипторов доступа | |
223 начиная с версии <link doc="changes.xml" id="njs0.3.3">0.3.3</link>), | |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
224 <literal>freeze</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
225 <literal>getOwnPropertyDescriptor</literal>, |
2395
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
226 <literal>getOwnPropertyDescriptors</literal> |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
227 (<link doc="changes.xml" id="njs0.3.1">0.3.1</link>), |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
228 <literal>getOwnPropertyNames</literal> |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
229 (<link doc="changes.xml" id="njs0.3.1">0.3.1</link>), |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
230 <literal>getPrototypeOf</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
231 <literal>isExtensible</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
232 <literal>isFrozen</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
233 <literal>isSealed</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
234 <literal>keys</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
235 <literal>preventExtensions</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
236 <literal>seal</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
237 </listitem> |
2312 | 238 |
239 <listitem> | |
240 ES8: | |
241 <link doc="reference.xml" id="object_entries"><literal>entries</literal></link> | |
2337
867fe207f13e
Updated links to changes.xml in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2333
diff
changeset
|
242 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>), |
2312 | 243 <link doc="reference.xml" id="object_values"><literal>values</literal></link> |
2337
867fe207f13e
Updated links to changes.xml in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2333
diff
changeset
|
244 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) |
2312 | 245 </listitem> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
246 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
247 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
248 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
249 |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
250 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
251 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
252 Методы экземпляра класса <literal>Object</literal>: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
253 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
254 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
255 ES5.1: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
256 <literal>hasOwnProperty</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
257 <literal>isPrototypeOf</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
258 (<link doc="changes.xml" id="njs0.3.0">0.3.0</link>), |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
259 <literal>propertyIsEnumerable</literal>, |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
260 <literal>toString</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
261 <literal>valueOf</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
262 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
263 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
264 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
265 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
266 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
267 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
268 Методы <literal>Array</literal>: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
269 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
270 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
271 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
272 <literal>isArray</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
273 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
274 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
275 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
276 ES6: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
277 <literal>of</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
278 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
279 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
280 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
281 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
282 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
283 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
284 Методы экземпляра класса <literal>Array</literal>: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
285 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
286 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
287 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
288 <literal>concat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
289 <literal>every</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
290 <literal>filter</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
291 <literal>forEach</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
292 <literal>indexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
293 <literal>join</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
294 <literal>lastIndexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
295 <literal>map</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
296 <literal>pop</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
297 <literal>push</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
298 <literal>reduce</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
299 <literal>reduceRight</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
300 <literal>reverse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
301 <literal>shift</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
302 <literal>slice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
303 <literal>some</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
304 <literal>sort</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
305 <literal>splice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
306 <literal>unshift</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
307 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
308 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
309 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
310 ES6: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
311 <literal>fill</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
312 <literal>find</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
313 <literal>findIndex</literal> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
314 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
315 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
316 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
317 ES7: <literal>includes</literal> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
318 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
319 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
320 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
321 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
322 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
323 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
324 Методы экземпляра класса <literal>Function</literal>: |
2387 | 325 <list type="bullet"> |
326 | |
327 <listitem> | |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
328 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
329 <literal>apply</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
330 <literal>bind</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
331 <literal>call</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
332 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
333 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
334 |
2387 | 335 </listitem> |
336 | |
337 <listitem> | |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
338 Методы экземпляра класса <literal>RegExp</literal>: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
339 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
340 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
341 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
342 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
343 <literal>exec</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
344 <literal>test</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
345 <literal>toString</literal> |
2387 | 346 </listitem> |
347 </list> | |
348 | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
349 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
350 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
351 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
352 <literal>RegExp</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
353 ES9 именные группы записи (<link doc="changes.xml" id="njs0.3.2">0.3.2</link>) |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
354 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
355 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
356 <listitem> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
357 Методы <literal>Date</literal>: |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
358 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
359 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
360 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
361 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
362 <literal>now</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
363 <literal>parse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
364 <literal>UTC</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
365 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
366 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
367 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
368 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
369 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
370 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
371 Методы экземпляра класса <literal>Date</literal>: |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
372 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
373 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
374 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
375 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
376 <literal>getDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
377 <literal>getDay</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
378 <literal>getFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
379 <literal>getHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
380 <literal>getMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
381 <literal>getMinutes</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
382 <literal>getMonth</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
383 <literal>getSeconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
384 <literal>getTime</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
385 <literal>getTimezoneOffset</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
386 <literal>getUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
387 <literal>getUTCDay</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
388 <literal>getUTCFullYear</literal>, |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
389 <literal>getUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
390 <literal>getUTCMilliseconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
391 <literal>getUTCMinutes</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
392 <literal>getUTCMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
393 <literal>getUTCSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
394 <literal>toDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
395 <literal>toISOString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
396 <literal>toLocaleDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
397 <literal>toLocaleString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
398 <literal>toLocaleTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
399 <literal>toTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
400 <literal>toUTCString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
401 <literal>setDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
402 <literal>setFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
403 <literal>setHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
404 <literal>setMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
405 <literal>setMilliseconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
406 <literal>setMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
407 <literal>setSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
408 <literal>setTime</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
409 <literal>setUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
410 <literal>setUTCFullYear</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
411 <literal>setUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
412 <literal>setUTCMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
413 <literal>setUTCMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
414 <literal>setUTCMonth</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
415 <literal>setUTCSeconds</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
416 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
417 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
418 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
419 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
420 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
421 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
422 Методы <link doc="reference.xml" id="core_json"><literal>JSON</literal></link>: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
423 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
424 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
425 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
426 ES5.1: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
427 <link doc="reference.xml" id="core_json_parse"><literal>parse</literal></link>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
428 <link doc="reference.xml" id="core_json_stringify"><literal>stringify</literal></link> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
429 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
430 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
431 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
432 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
433 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
434 <listitem> |
2264 | 435 ES5.1 объект <literal>arguments</literal> (0.2.5) |
436 </listitem> | |
437 | |
438 <listitem> | |
2312 | 439 ES6 синтаксис rest параметров (без поддержки деструктуризации) |
2337
867fe207f13e
Updated links to changes.xml in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2333
diff
changeset
|
440 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) |
2312 | 441 </listitem> |
442 | |
443 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
444 ES5.1 глобальные функции: |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
445 <link doc="reference.xml" id="decodeuri"><literal>decodeURI</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
446 <link doc="reference.xml" id="decodeuricomponent"><literal>decodeURIComponent</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
447 <link doc="reference.xml" id="encodeuri"><literal>encodeURI</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
448 <link doc="reference.xml" id="encodeuricomponent"><literal>encodeURIComponent</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
449 <literal>isFinite</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
450 <literal>isNaN</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
451 <literal>parseFloat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
452 <literal>parseInt</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
453 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
454 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
455 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
456 Объекты <literal>Error</literal>: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
457 <literal>Error</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
458 <literal>EvalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
459 <literal>InternalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
460 <literal>RangeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
461 <literal>ReferenceError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
462 <literal>SyntaxError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
463 <literal>TypeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
464 <literal>URIError</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
465 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
466 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
467 <listitem> |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
468 Функции |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
469 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
470 и |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
471 <link doc="reference.xml" id="settimeout"><literal>setTimeout</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
472 (0.2.0) |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
473 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
474 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
475 <listitem> |
2333
fb5e1d2d4c75
Removed "Not supported" section, updated defineProperty in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
476 Методы <literal>File system</literal>: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
477 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
478 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, |
2414 | 479 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link>, |
480 <link doc="reference.xml" id="renamesync"><literal>fs.renameSync</literal></link> | |
481 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>) | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
482 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
483 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
484 <listitem> |
2333
fb5e1d2d4c75
Removed "Not supported" section, updated defineProperty in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
485 Методы <literal>Crypto</literal> (0.2.0): |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
486 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
487 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
488 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
489 |
2353 | 490 <listitem> |
491 ES6 поддержка модулей: | |
492 инструкции | |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
493 <literal>export</literal> по умолчанию и |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
494 <literal>import</literal> по умолчанию |
2353 | 495 (<link doc="changes.xml" id="njs0.3.0">0.3.0</link>) |
496 </listitem> | |
497 | |
2369 | 498 <listitem> |
499 ES6 поддержка стрелочных функций | |
500 (<link doc="changes.xml" id="njs0.3.1">0.3.1</link>) | |
501 </listitem> | |
502 | |
2387 | 503 <listitem> |
504 Шаблонные строки: | |
505 многострочные литералы, интерполяция выражений, вложенные шаблоны | |
506 (<link doc="changes.xml" id="njs0.3.2">0.3.2</link>) | |
507 </listitem> | |
508 | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
509 <listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
510 Глобальные объекты |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
511 (<link doc="changes.xml" id="njs0.3.3">0.3.3</link>): |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
512 <list type="bullet"> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
513 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
514 <listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
515 <link doc="reference.xml" id="process"><literal>process</literal></link> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
516 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
517 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
518 </list> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
519 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
520 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
521 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
522 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
523 </para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
524 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
525 </section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
526 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
527 </article> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
528 |