Mercurial > hg > nginx-site
comparison xml/ru/docs/njs/compatibility.xml @ 2267:c30048802769
Added links to njs reference from njs Compatibility.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 29 Oct 2018 21:34:03 +0300 |
parents | b001d6903fc1 |
children | 6426814f9373 |
comparison
equal
deleted
inserted
replaced
2266:3fba786a8bd7 | 2267:c30048802769 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Совместимость" | 9 <article name="Совместимость" |
10 link="/ru/docs/njs/compatibility.html" | 10 link="/ru/docs/njs/compatibility.html" |
11 lang="ru" | 11 lang="ru" |
12 rev="2"> | 12 rev="3"> |
13 | 13 |
14 <section> | 14 <section> |
15 | 15 |
16 <para> | 16 <para> |
17 njs совместим с | 17 njs совместим с |
57 Методы <literal>String</literal>: | 57 Методы <literal>String</literal>: |
58 <list type="bullet"> | 58 <list type="bullet"> |
59 | 59 |
60 <listitem> | 60 <listitem> |
61 ES5.1: | 61 ES5.1: |
62 <literal>fromCharCode</literal>, <literal>concat</literal>, | 62 <literal>fromCharCode</literal>, |
63 <literal>slice</literal>, <literal>substring</literal>, | 63 <link doc="reference.xml" id="string_concat"><literal>concat</literal></link>, |
64 <literal>substr</literal>, <literal>charAt</literal>, | 64 <link doc="reference.xml" id="string_slice"><literal>slice</literal></link>, |
65 <literal>charCodeAt</literal>, <literal>indexOf</literal>, | 65 <link doc="reference.xml" id="string_substring"><literal>substring</literal></link>, |
66 <literal>lastIndexOf</literal>, <literal>toLowerCase</literal>, | 66 <link doc="reference.xml" id="string_substr"><literal>substr</literal></link>, |
67 <literal>toUpperCase</literal>, <literal>trim</literal>, | 67 <literal>charAt</literal>, |
68 <literal>search</literal>, <literal>match</literal>, <literal>split</literal>, | 68 <link doc="reference.xml" id="string_indexof"><literal>indexOf</literal></link>, |
69 <literal>replace</literal> | 69 <link doc="reference.xml" id="string_lastindexof"><literal>lastIndexOf</literal></link>, |
70 <link doc="reference.xml" id="string_tolowercase"><literal>toLowerCase</literal></link>, | |
71 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase</literal></link>, | |
72 <link doc="reference.xml" id="string_trim"><literal>trim</literal></link>, | |
73 <link doc="reference.xml" id="string_search"><literal>search</literal></link>, | |
74 <link doc="reference.xml" id="string_match"><literal>match</literal></link>, | |
75 <link doc="reference.xml" id="string_split"><literal>split</literal></link>, | |
76 <link doc="reference.xml" id="string_replace"><literal>replace</literal></link> | |
70 </listitem> | 77 </listitem> |
71 | 78 |
72 <listitem> | 79 <listitem> |
73 ES6: | 80 ES6: |
74 <literal>fromCodePoint</literal>, <literal>codePointAt</literal>, | 81 <link doc="reference.xml" id="string_fromcodepoint"><literal>fromCodePoint</literal></link>, |
75 <literal>includes</literal>, <literal>startsWith</literal>, | 82 <literal>codePointAt</literal>, |
76 <literal>endsWith</literal>, <literal>repeat</literal> | 83 <link doc="reference.xml" id="string_includes"><literal>includes</literal></link>, |
84 <link doc="reference.xml" id="string_startswith"><literal>startsWith</literal></link>, | |
85 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>, | |
86 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link> | |
77 </listitem> | 87 </listitem> |
78 | 88 |
79 <listitem> | 89 <listitem> |
80 нестандартные: | 90 нестандартные: |
81 <literal>bytesFrom</literal> (0.2.3), | 91 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> (0.2.3) |
82 <literal>fromUTF8</literal>, <literal>toUTF8</literal>, | 92 <link doc="reference.xml" id="string_fromutf8"><literal>fromUTF8</literal></link>, |
83 <literal>fromBytes</literal>, <literal>toBytes</literal> | 93 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link>, |
94 <link doc="reference.xml" id="string_frombytes"><literal>fromBytes</literal></link>, | |
95 <link doc="reference.xml" id="string_tobytes"><literal>toBytes</literal></link> | |
84 </listitem> | 96 </listitem> |
85 </list> | 97 </list> |
86 | 98 |
87 </listitem> | 99 </listitem> |
88 | 100 |
151 <listitem> | 163 <listitem> |
152 ES5.1 методы <literal>Date</literal> | 164 ES5.1 методы <literal>Date</literal> |
153 </listitem> | 165 </listitem> |
154 | 166 |
155 <listitem> | 167 <listitem> |
156 ES5.1 объект <literal>JSON</literal> | 168 ES5.1 объект <link doc="reference.xml" id="core_json"><literal>JSON</literal></link> |
157 </listitem> | 169 </listitem> |
158 | 170 |
159 <listitem> | 171 <listitem> |
160 ES5.1 объект <literal>arguments</literal> (0.2.5) | 172 ES5.1 объект <literal>arguments</literal> (0.2.5) |
161 </listitem> | 173 </listitem> |
162 | 174 |
163 <listitem> | 175 <listitem> |
164 ES5.1 глобальные функции: | 176 ES5.1 глобальные функции: |
165 <literal>isFinite</literal>, <literal>isNaN</literal>, | 177 <literal>isFinite</literal>, <literal>isNaN</literal>, |
166 <literal>parseFloat</literal>, <literal>parseInt</literal>, | 178 <literal>parseFloat</literal>, <literal>parseInt</literal>, |
167 <literal>decodeURI</literal>, <literal>decodeURIComponent</literal>, | 179 <link doc="reference.xml" id="decodeuri"><literal>decodeURI</literal></link>, |
168 <literal>encodeURI</literal>, <literal>encodeURIComponent</literal> | 180 <link doc="reference.xml" id="decodeuricomponent"><literal>decodeURIComponent</literal></link>, |
181 <link doc="reference.xml" id="encodeuri"><literal>encodeURI</literal></link>, | |
182 <link doc="reference.xml" id="encodeuricomponent"><literal>encodeURIComponent</literal></link> | |
169 </listitem> | 183 </listitem> |
170 | 184 |
171 <listitem> | 185 <listitem> |
172 Объекты <literal>Error</literal>: | 186 Объекты <literal>Error</literal>: |
173 <literal>Error</literal>, <literal>EvalError</literal>, | 187 <literal>Error</literal>, <literal>EvalError</literal>, |
175 <literal>ReferenceError</literal>, <literal>SyntaxError</literal>, | 189 <literal>ReferenceError</literal>, <literal>SyntaxError</literal>, |
176 <literal>TypeError</literal>, <literal>URIError</literal> | 190 <literal>TypeError</literal>, <literal>URIError</literal> |
177 </listitem> | 191 </listitem> |
178 | 192 |
179 <listitem> | 193 <listitem> |
180 Функции <literal>setTimeout()</literal> и <literal>clearTimeout()</literal> | 194 Функции |
195 <link doc="reference.xml" id="settimeout"><literal>setTimeout</literal></link> | |
196 и | |
197 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> | |
181 (0.2.0) | 198 (0.2.0) |
182 </listitem> | 199 </listitem> |
183 | 200 |
184 <listitem> | 201 <listitem> |
185 Методы <literal>File system</literal> | 202 Методы <literal>File system</literal> |
186 <link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>: | 203 <link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>: |
187 <literal>fs.readFile</literal>, <literal>fs.readFileSync</literal>, | 204 <literal>fs.readFile</literal>, |
188 <literal>fs.appendFile</literal>, <literal>fs.appendFileSync</literal>, | 205 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, |
189 <literal>fs.writeFile</literal>, <literal>fs.writeFileSync</literal> | 206 <literal>fs.appendFile</literal>, |
207 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, | |
208 <literal>fs.writeFile</literal>, | |
209 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> | |
190 </listitem> | 210 </listitem> |
191 | 211 |
192 <listitem> | 212 <listitem> |
193 Методы <literal>Crypto</literal> | 213 Методы <literal>Crypto</literal> |
194 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">стиль Node.js</link> | 214 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">стиль Node.js</link> |
195 (0.2.0): | 215 (0.2.0): |
196 <literal>crypto.createHash</literal>, | 216 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, |
197 <literal>crypto.createHmac</literal> | 217 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> |
198 </listitem> | 218 </listitem> |
199 | 219 |
200 </list> | 220 </list> |
201 </para> | 221 </para> |
202 | 222 |