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