Mercurial > hg > nginx-site
comparison xml/en/docs/njs_about.xml @ 2071:838c503fd2f7
Documented JSON object support for njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 14 Nov 2017 21:41:37 +0300 |
parents | af51ec6b5489 |
children | 07239ff77f50 |
comparison
equal
deleted
inserted
replaced
2070:f6b65868fae3 | 2071:838c503fd2f7 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="About nginScript" | 9 <article name="About nginScript" |
10 link="/en/docs/njs_about.html" | 10 link="/en/docs/njs_about.html" |
11 lang="en" | 11 lang="en" |
12 rev="11"> | 12 rev="12"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 nginScript is a subset of the JavaScript language that allows | 17 nginScript is a subset of the JavaScript language that allows |
154 <listitem> | 154 <listitem> |
155 ES5.1 <literal>Date</literal> methods | 155 ES5.1 <literal>Date</literal> methods |
156 </listitem> | 156 </listitem> |
157 | 157 |
158 <listitem> | 158 <listitem> |
159 ES5.1 <literal>JSON</literal> object | |
160 </listitem> | |
161 | |
162 <listitem> | |
159 ES5.1 global functions: | 163 ES5.1 global functions: |
160 <literal>isFinite</literal>, <literal>isNaN</literal>, | 164 <literal>isFinite</literal>, <literal>isNaN</literal>, |
161 <literal>parseFloat</literal>, <literal>parseInt</literal>, | 165 <literal>parseFloat</literal>, <literal>parseInt</literal>, |
162 <literal>decodeURI</literal>, <literal>decodeURIComponent</literal>, | 166 <literal>decodeURI</literal>, <literal>decodeURIComponent</literal>, |
163 <literal>encodeURI</literal>, <literal>encodeURIComponent</literal> | 167 <literal>encodeURI</literal>, <literal>encodeURIComponent</literal> |
186 <literal>arguments</literal> array | 190 <literal>arguments</literal> array |
187 </listitem> | 191 </listitem> |
188 | 192 |
189 <listitem> | 193 <listitem> |
190 <literal>eval</literal> function | 194 <literal>eval</literal> function |
191 </listitem> | |
192 | |
193 <listitem> | |
194 <literal>JSON</literal> object | |
195 </listitem> | 195 </listitem> |
196 | 196 |
197 <listitem> | 197 <listitem> |
198 <literal>Error</literal> object | 198 <literal>Error</literal> object |
199 </listitem> | 199 </listitem> |