Mercurial > hg > nginx-site
annotate xml/en/docs/njs/compatibility.xml @ 2840:3b705c0a5af7
Updated example for ngx.fetch in njs reference.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 22 Apr 2022 14:08:59 +0100 |
parents | bbe072c9b278 |
children | 60851da88db6 |
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="Compatibility" |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
10 link="/en/docs/njs/compatibility.html" |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
11 lang="en" |
2776
bbe072c9b278
Added "async" and "await" statements to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2762
diff
changeset
|
12 rev="34" |
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 is created in compliance with |
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 (strict mode) with some |
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 and later extensions. |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
23 The compliance is still evolving. |
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 |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
26 <para> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
27 Definitions of njs specific properties and methods |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
28 not compliant with ECMAScript can be found in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
29 <link doc="reference.xml">Reference</link>. |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
30 Definitions of njs properties and methods |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
31 compliant with ECMAScript can be found in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
32 <link url="http://www.ecma-international.org/ecma-262/">ECMAScript |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
33 specification</link>. |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
34 </para> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
35 |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
36 <para> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
37 |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
38 </para> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
39 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
40 </section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
41 |
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 <section id="supported" name="What is currently supported"> |
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 <para> |
2584 | 46 <list type="bullet" compact="no"> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
47 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
48 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
49 Boolean values, numbers, strings, objects, arrays, |
2446 | 50 functions, function constructors |
51 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
52 and regular expressions | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
53 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
54 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
55 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
56 ES5.1 operators, ES7 exponentiation operators |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
57 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
58 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
59 <listitem> |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
60 ES5.1 statements: |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
61 <literal>break</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
62 <literal>catch</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
63 <literal>continue</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
64 <literal>do while</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
65 <literal>else</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
66 <literal>finally</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
67 <literal>for</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
68 <literal>for in</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
69 <literal>if</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
70 <literal>return</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
71 <literal>switch</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
72 <literal>throw</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
73 <literal>try</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
74 <literal>var</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
75 <literal>while</literal>, |
2339
a72bd8324c0b
Added njs labeled statements to Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2333
diff
changeset
|
76 labeled statements (<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
|
77 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
78 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
79 <listitem> |
2738
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
80 ES6 statements: |
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
81 <literal>let</literal> (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>), |
2776
bbe072c9b278
Added "async" and "await" statements to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2762
diff
changeset
|
82 <literal>const</literal> (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>), |
bbe072c9b278
Added "async" and "await" statements to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2762
diff
changeset
|
83 <literal>async</literal> (<link doc="changes.xml" id="njs0.7.0">0.7.0</link>), |
bbe072c9b278
Added "async" and "await" statements to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2762
diff
changeset
|
84 <literal>await</literal> (<link doc="changes.xml" id="njs0.7.0">0.7.0</link>) |
2738
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
85 </listitem> |
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
86 |
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
87 <listitem> |
2398
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
88 <literal>Math</literal> properties: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
89 <list type="bullet"> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
90 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
91 <listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
92 ES6: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
93 <literal>E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
94 <literal>LN10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
95 <literal>LN2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
96 <literal>LOG10E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
97 <literal>LOG2E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
98 <literal>PI</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
99 <literal>SQRT1_2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
100 <literal>SQRT2</literal> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
101 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
102 </list> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
103 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
104 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
105 <listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
106 <literal>Math</literal> methods: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
107 <list type="bullet"> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
108 |
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 ES6: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
111 <literal>abs</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
112 <literal>acos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
113 <literal>acosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
114 <literal>asin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
115 <literal>asinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
116 <literal>atan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
117 <literal>atan2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
118 <literal>atanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
119 <literal>cbrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
120 <literal>ceil</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
121 <literal>clz32</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
122 <literal>cos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
123 <literal>cosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
124 <literal>exp</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
125 <literal>expm1</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
126 <literal>floor</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
127 <literal>fround</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
128 <literal>hypot</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
129 <literal>imul</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
130 <literal>log</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
131 <literal>log10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
132 <literal>log1p</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
133 <literal>log2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
134 <literal>max</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
135 <literal>min</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
136 <literal>pow</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
137 <literal>random</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
138 <literal>round</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
139 <literal>sign</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
140 <literal>sin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
141 <literal>sinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
142 <literal>sqrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
143 <literal>tan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
144 <literal>tanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
145 <literal>trunc</literal> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
146 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
147 </list> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
148 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
149 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
150 <listitem> |
2399
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
151 <literal>Number</literal> properties: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
152 <list type="bullet"> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
153 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
154 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
155 ES6: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
156 <literal>EPSILON</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
157 <literal>MAX_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
158 <literal>MAX_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
159 <literal>MIN_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
160 <literal>MIN_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
161 <literal>NEGATIVE_INFINITY</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
162 <literal>NaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
163 <literal>POSITIVE_INFINITY</literal> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
164 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
165 </list> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
166 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
167 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
168 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
169 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
170 <literal>Number</literal> methods: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
171 <list type="bullet"> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
172 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
173 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
174 ES6: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
175 <literal>isFinite</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
176 <literal>isInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
177 <literal>isNaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
178 <literal>isSafeInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
179 <literal>parseFloat</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
180 <literal>parseInt</literal> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
181 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
182 </list> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
183 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
184 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
185 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
186 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
187 <literal>Number</literal> prototype methods: |
2446 | 188 <list type="bullet"> |
189 | |
190 <listitem> | |
191 ES6: | |
192 <literal>toExponential</literal> | |
193 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
194 <literal>toFixed</literal> | |
195 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
196 <literal>toPrecision</literal> | |
197 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>) | |
198 </listitem> | |
199 </list> | |
200 | |
201 </listitem> | |
202 | |
203 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
204 <literal>String</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
205 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
206 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
207 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
208 ES5.1: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
209 <literal>fromCharCode</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
210 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
211 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
212 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
213 ES6: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
214 <literal>fromCodePoint</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
215 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
216 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
217 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
218 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
219 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
220 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
221 <literal>String</literal> prototype methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
222 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
223 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
224 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
225 ES5.1: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
226 <literal>charAt</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
227 <literal>concat</literal>, |
2602
90b32c2c0155
Fixed typo and versions mismatch in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2585
diff
changeset
|
228 <literal>indexOf</literal>, |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
229 <literal>lastIndexOf</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
230 <literal>match</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
231 <literal>replace</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
232 <literal>search</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
233 <literal>slice</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
234 <literal>split</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
235 <literal>substr</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
236 <literal>substring</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
237 <literal>toLowerCase</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
238 <literal>trim</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
239 <literal>toUpperCase</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
240 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
241 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
242 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
243 ES6: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
244 <literal>codePointAt</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
245 <literal>endsWith</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
246 <literal>includes</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
247 <literal>repeat</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
248 <literal>startsWith</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
249 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
250 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
251 <listitem> |
2269
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
252 ES8: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
253 <literal>padEnd</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
254 <literal>padStart</literal> |
2269
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
255 </listitem> |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
256 |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
257 <listitem> |
2414 | 258 ES9: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
259 <literal>trimEnd</literal> |
2414 | 260 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>), |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
261 <literal>trimStart</literal> |
2414 | 262 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>) |
263 </listitem> | |
264 | |
265 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
266 non-standard: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
267 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
268 (<link doc="changes.xml" id="njs0.2.3">0.2.3</link>), |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
269 <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
|
270 <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
|
271 <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
|
272 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
273 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
274 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
275 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
276 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
277 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
278 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
279 <literal>Object</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
280 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
281 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
282 ES5.1: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
283 <literal>create</literal> (support without properties list), |
2414 | 284 <literal>defineProperties</literal> (accessor descriptors support |
285 since <link doc="changes.xml" id="njs0.3.3">0.3.3</link>), | |
286 <literal>defineProperty</literal> (accessor descriptors support | |
287 since <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
|
288 <literal>freeze</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
289 <literal>getOwnPropertyDescriptor</literal>, |
2395
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
290 <literal>getOwnPropertyDescriptors</literal> |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
291 (<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
|
292 <literal>getOwnPropertyNames</literal> |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
293 (<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
|
294 <literal>getPrototypeOf</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
295 <literal>isExtensible</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
296 <literal>isFrozen</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
297 <literal>isSealed</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
298 <literal>keys</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
299 <literal>preventExtensions</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
300 <literal>seal</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
301 </listitem> |
2312 | 302 |
303 <listitem> | |
2466 | 304 ES6: |
305 <literal>assign</literal> | |
306 (<link doc="changes.xml" id="njs0.3.7">0.3.7</link>) | |
307 </listitem> | |
308 | |
309 <listitem> | |
2312 | 310 ES8: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
311 <literal>entries</literal> |
2312 | 312 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>), |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
313 <literal>values</literal> |
2312 | 314 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) |
315 </listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
316 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
317 |
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 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
320 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
321 <literal>Object</literal> prototype methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
322 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
323 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
324 ES5.1: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
325 <literal>hasOwnProperty</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
326 <literal>isPrototypeOf</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
327 (<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
|
328 <literal>propertyIsEnumerable</literal>, |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
329 <literal>toString</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
330 <literal>valueOf</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
331 </listitem> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
332 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
333 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
334 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
335 <literal>is</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
336 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>), |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
337 <literal>setPrototypeOf</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
338 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>) |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
339 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
340 |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
341 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
342 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
343 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
344 <listitem> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
345 <literal>Array</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
346 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
347 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
348 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
349 <literal>isArray</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
350 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
351 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
352 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
353 ES6: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
354 <literal>of</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
355 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
356 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
357 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
358 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
359 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
360 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
361 <literal>Array</literal> prototype methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
362 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
363 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
364 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
365 <literal>concat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
366 <literal>every</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
367 <literal>filter</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
368 <literal>forEach</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
369 <literal>indexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
370 <literal>join</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
371 <literal>lastIndexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
372 <literal>map</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
373 <literal>pop</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
374 <literal>push</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
375 <literal>reduce</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
376 <literal>reduceRight</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
377 <literal>reverse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
378 <literal>shift</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
379 <literal>slice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
380 <literal>some</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
381 <literal>sort</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
382 <literal>splice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
383 <literal>unshift</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
384 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
385 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
386 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
387 ES6: |
2466 | 388 <literal>copyWithin</literal> |
389 (<link doc="changes.xml" id="njs0.3.7">0.3.7</link>), | |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
390 <literal>fill</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
391 <literal>find</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
392 <literal>findIndex</literal> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
393 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
394 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
395 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
396 ES7: <literal>includes</literal> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
397 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
398 </list> |
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> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
401 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
402 <listitem> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
403 <literal>ArrayBuffer</literal> methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
404 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>): |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
405 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
406 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
407 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
408 <literal>isView</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
409 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
410 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
411 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
412 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
413 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
414 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
415 <literal>ArrayBuffer</literal> prototype methods |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
416 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>): |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
417 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
418 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
419 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
420 <literal>slice</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
421 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
422 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
423 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
424 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
425 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
426 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
427 <literal>Typed-array</literal> constructors |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
428 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>): |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
429 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
430 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
431 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
432 <literal>Int8Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
433 <literal>Uint8Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
434 <literal>Uint8ClampedArray</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
435 <literal>Int16Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
436 <literal>Uint16Array</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
437 <literal>Int32Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
438 <literal>Uint32Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
439 <literal>Float32Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
440 <literal>Float64Array</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
441 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
442 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
443 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
444 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
445 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
446 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
447 <literal>Typed-array</literal> prototype methods |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
448 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>): |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
449 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
450 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
451 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
452 <literal>copyWithin</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
453 <literal>every</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
454 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
455 <literal>fill</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
456 <literal>filter</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
457 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
458 <literal>find</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
459 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
460 <literal>findIndex</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
461 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
462 <literal>forEach</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
463 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
464 <literal>includes</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
465 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
466 <literal>indexOf</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
467 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
468 <literal>join</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
469 <literal>lastIndexOf</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
470 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
471 <literal>map</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
472 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
473 <literal>reduce</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
474 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
475 <literal>reduceRight</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
476 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
477 <literal>reverse</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
478 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
479 <literal>set</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
480 <literal>slice</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
481 <literal>some</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
482 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>), |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
483 <literal>sort</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
484 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>), |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
485 <literal>subarray</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
486 <literal>toString</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
487 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
488 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
489 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
490 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
491 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
492 <listitem> |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
493 <literal>Buffer</literal> methods |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
494 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>): |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
495 <list type="bullet"> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
496 <listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
497 <link doc="reference.xml" id="buffer_alloc"><literal>alloc</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
498 <link doc="reference.xml" id="buffer_alloc_unsafe"><literal>allocUnsafe</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
499 <link doc="reference.xml" id="buffer_bytelength"><literal>byteLength</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
500 <link doc="reference.xml" id="buffer_compare"><literal>compare</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
501 <link doc="reference.xml" id="buffer_concat"><literal>concat</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
502 <link doc="reference.xml" id="buffer_from_array"><literal>from</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
503 <link doc="reference.xml" id="buffer_is_buffer"><literal>isBuffer</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
504 <link doc="reference.xml" id="buffer_is_encoding"><literal>isEncoding</literal></link> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
505 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
506 </list> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
507 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
508 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
509 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
510 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
511 <literal>Buffer</literal> prototype methods: |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
512 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>): |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
513 <list type="bullet"> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
514 <listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
515 <link doc="reference.xml" id="buf_compare"><literal>compare</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
516 <link doc="reference.xml" id="buf_copy"><literal>copy</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
517 <link doc="reference.xml" id="buf_equals"><literal>equals</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
518 <link doc="reference.xml" id="buf_fill"><literal>fill</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
519 <link doc="reference.xml" id="buf_includes"><literal>includes</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
520 <link doc="reference.xml" id="buf_indexof"><literal>indexOf</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
521 <link doc="reference.xml" id="buf_lastindexof"><literal>lastIndexOf</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
522 <link doc="reference.xml" id="buf_readintbe"><literal>readIntBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
523 <literal>readInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
524 <literal>readInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
525 <literal>readInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
526 <link doc="reference.xml" id="buf_readintle"><literal>readIntLE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
527 <literal>readInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
528 <literal>readInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
529 <literal>readInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
530 <link doc="reference.xml" id="buf_readuintbe"><literal>readUIntBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
531 <literal>readUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
532 <literal>readUInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
533 <literal>readUInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
534 <link doc="reference.xml" id="buf_readuintle"><literal>readUIntLE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
535 <literal>readUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
536 <literal>readUInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
537 <literal>readUInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
538 <link doc="reference.xml" id="buf_readdobulebe"><literal>readDoubleBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
539 <link doc="reference.xml" id="buf_readdobulele"><literal>readDoubleLE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
540 <link doc="reference.xml" id="buf_readfloatbe"><literal>readFloatBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
541 <link doc="reference.xml" id="buf_readfloatle"><literal>readFloatLE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
542 <link doc="reference.xml" id="buf_subarray"><literal>subarray</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
543 <link doc="reference.xml" id="buf_slice"><literal>slice</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
544 <link doc="reference.xml" id="buf_swap16"><literal>swap16</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
545 <link doc="reference.xml" id="buf_swap32"><literal>swap32</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
546 <link doc="reference.xml" id="buf_swap64"><literal>swap64</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
547 <link doc="reference.xml" id="buf_tojson"><literal>toJSON</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
548 <link doc="reference.xml" id="buf_tostring"><literal>toString</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
549 <link doc="reference.xml" id="buf_write"><literal>write</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
550 <link doc="reference.xml" id="buf_writeintbe"><literal>writeIntBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
551 <literal>writeInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
552 <literal>writeInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
553 <literal>writeInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
554 <link doc="reference.xml" id="buf_writeintle"><literal>writeIntLE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
555 <literal>writeInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
556 <literal>writeInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
557 <literal>writeInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
558 <link doc="reference.xml" id="buf_writeuintbe"><literal>writeUIntBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
559 <literal>writeUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
560 <literal>writeUInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
561 <literal>writeUInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
562 <link doc="reference.xml" id="buf_writeuintle"><literal>writeUIntLE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
563 <literal>writeUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
564 <literal>writeUInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
565 <literal>writeUInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
566 <link doc="reference.xml" id="buf_writedoublebe"><literal>writeDoubleBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
567 <link doc="reference.xml" id="buf_writedoublele"><literal>writeDoubleLE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
568 <link doc="reference.xml" id="buf_writefloatbe"><literal>writeFloatBE</literal></link>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
569 <link doc="reference.xml" id="buf_writefloatle"><literal>writeFloatLE</literal></link> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
570 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
571 </list> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
572 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
573 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
574 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
575 <listitem> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
576 <literal>Promise</literal> methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
577 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>): |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
578 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
579 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
580 ES6: |
2762 | 581 <literal>any()</literal> |
582 (<link doc="changes.xml" id="njs0.6.2">0.6.2</link>), | |
583 <literal> all()</literal> | |
584 (<link doc="changes.xml" id="njs0.6.2">0.6.2</link>), | |
585 <literal> allSettled()</literal> | |
586 (<link doc="changes.xml" id="njs0.6.2">0.6.2</link>), | |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
587 <literal>reject</literal>, |
2762 | 588 <literal>resolve</literal>, |
589 <literal>race()</literal> (<link doc="changes.xml" id="njs0.6.2">0.6.2</link>) | |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
590 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
591 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
592 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
593 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
594 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
595 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
596 <literal>Promise</literal> prototype methods |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
597 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>): |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
598 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
599 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
600 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
601 <literal>catch</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
602 <literal>finally</literal>, |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
603 <literal>then</literal> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
604 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
605 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
606 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
607 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
608 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
609 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
610 <literal>Function</literal> prototype methods: |
2387 | 611 <list type="bullet"> |
612 | |
613 <listitem> | |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
614 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
615 <literal>apply</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
616 <literal>bind</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
617 <literal>call</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
618 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
619 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
620 |
2387 | 621 </listitem> |
622 | |
623 <listitem> | |
2739
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
624 <literal>RegExp</literal> prototype accessor properties: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
625 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
626 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
627 <listitem> |
2739
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
628 <literal>flags</literal> (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>), |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
629 <literal>global</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
630 <literal>ignoreCase</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
631 <literal>multiline</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
632 <literal>source</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
633 <literal>sticky</literal> (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>) |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
634 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
635 </list> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
636 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
637 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
638 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
639 <listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
640 <literal>RegExp</literal> prototype methods: |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
641 <list type="bullet"> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
642 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
643 <listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
644 <literal>[@@replace]</literal> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
645 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>), |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
646 <literal>[@@split]</literal> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
647 (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>) |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
648 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
649 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
650 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
651 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
652 <literal>exec</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
653 <literal>test</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
654 <literal>toString</literal> |
2387 | 655 </listitem> |
656 </list> | |
657 | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
658 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
659 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
660 <listitem> |
2739
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
661 <literal>RegExp</literal> instance properties: |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
662 <list type="bullet"> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
663 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
664 <listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
665 <literal>lastIndex</literal> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
666 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
667 </list> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
668 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
669 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
670 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
671 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
672 <literal>RegExp</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
673 ES9 named capture groups (<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
|
674 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
675 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
676 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
677 <literal>DataView</literal> prototype methods |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
678 (<link doc="changes.xml" id="njs0.4.4">0.4.4</link>): |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
679 <list type="bullet"> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
680 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
681 <listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
682 ES6: |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
683 <literal>getFloat32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
684 <literal>getFloat64</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
685 <literal>getInt16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
686 <literal>getInt32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
687 <literal>getInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
688 <literal>getUint16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
689 <literal>getUint32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
690 <literal>getUint8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
691 <literal>setFloat32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
692 <literal>setFloat64</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
693 <literal>setInt16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
694 <literal>setInt32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
695 <literal>setInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
696 <literal>setUint16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
697 <literal>setUint32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
698 <literal>setUint8</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
699 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
700 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
701 </list> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
702 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
703 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
704 <listitem> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
705 <literal>Date</literal> methods: |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
706 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
707 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
708 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
709 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
710 <literal>now</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
711 <literal>parse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
712 <literal>UTC</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
713 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
714 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
715 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
716 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
717 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
718 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
719 <literal>Date</literal> prototype methods: |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
720 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
721 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
722 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
723 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
724 <literal>getDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
725 <literal>getDay</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
726 <literal>getFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
727 <literal>getHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
728 <literal>getMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
729 <literal>getMinutes</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
730 <literal>getMonth</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
731 <literal>getSeconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
732 <literal>getTime</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
733 <literal>getTimezoneOffset</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
734 <literal>getUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
735 <literal>getUTCDay</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
736 <literal>getUTCFullYear</literal>, |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
737 <literal>getUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
738 <literal>getUTCMilliseconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
739 <literal>getUTCMinutes</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
740 <literal>getUTCMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
741 <literal>getUTCSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
742 <literal>toDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
743 <literal>toISOString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
744 <literal>toLocaleDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
745 <literal>toLocaleString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
746 <literal>toLocaleTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
747 <literal>toTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
748 <literal>toUTCString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
749 <literal>setDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
750 <literal>setFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
751 <literal>setHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
752 <literal>setMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
753 <literal>setMilliseconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
754 <literal>setMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
755 <literal>setSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
756 <literal>setTime</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
757 <literal>setUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
758 <literal>setUTCFullYear</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
759 <literal>setUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
760 <literal>setUTCMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
761 <literal>setUTCMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
762 <literal>setUTCMonth</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
763 <literal>setUTCSeconds</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
764 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
765 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
766 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
767 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
768 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
769 <listitem> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
770 <literal>JSON</literal> methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
771 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
772 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
773 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
774 ES5.1: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
775 <literal>parse</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
776 <literal>stringify</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
777 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
778 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
779 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
780 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
781 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
782 <listitem> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
783 ES5.1 <literal>arguments</literal> object |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
784 (<link doc="changes.xml" id="njs0.2.5">0.2.5</link>) |
2264 | 785 </listitem> |
786 | |
787 <listitem> | |
2312 | 788 ES6 rest parameters syntax (without destructuring support) |
789 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) | |
790 </listitem> | |
791 | |
792 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
793 ES5.1 global functions: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
794 <literal>decodeURI</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
795 <literal>decodeURIComponent</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
796 <literal>encodeURI</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
797 <literal>encodeURIComponent</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
798 <literal>isFinite</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
799 <literal>isNaN</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
800 <literal>parseFloat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
801 <literal>parseInt</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
802 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
803 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
804 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
805 <literal>Error</literal> objects: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
806 <literal>Error</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
807 <literal>EvalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
808 <literal>InternalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
809 <literal>RangeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
810 <literal>ReferenceError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
811 <literal>SyntaxError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
812 <literal>TypeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
813 <literal>URIError</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
814 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
815 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
816 <listitem> |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
817 <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
|
818 and |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
819 <link doc="reference.xml" id="settimeout"><literal>setTimeout</literal></link> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
820 functions |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
821 (<link doc="changes.xml" id="njs0.2.0">0.2.0</link>) |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
822 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
823 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
824 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
825 <literal>File system</literal> methods: |
2507 | 826 <link doc="reference.xml" id="fs_accesssync"><literal>fs.accessSync</literal></link> |
827 (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
828 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, |
2565
45cb60b3b7b2
Updated Compatibility for njs-0.4.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
829 <link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdirSync</literal></link> |
45cb60b3b7b2
Updated Compatibility for njs-0.4.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
830 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>), |
45cb60b3b7b2
Updated Compatibility for njs-0.4.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
831 <link doc="reference.xml" id="fs_readdirsync"><literal>fs.readdirSync</literal></link> |
45cb60b3b7b2
Updated Compatibility for njs-0.4.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
832 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>), |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
833 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, |
2507 | 834 <link doc="reference.xml" id="fs_realpathsync"><literal>fs.realpathSync</literal></link> |
835 (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | |
836 <link doc="reference.xml" id="fs_renamesync"><literal>fs.renameSync</literal></link> | |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
837 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>), |
2565
45cb60b3b7b2
Updated Compatibility for njs-0.4.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
838 <link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdirSync</literal></link> |
45cb60b3b7b2
Updated Compatibility for njs-0.4.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
839 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>), |
2507 | 840 <link doc="reference.xml" id="fs_symlinksync"><literal>fs.symlinkSync</literal></link> |
841 (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | |
842 <link doc="reference.xml" id="fs_unlinksync"><literal>fs.unlinkSync</literal></link> | |
843 (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | |
2584 | 844 <link doc="reference.xml" id="fs_writefilesync"><literal>fs.writeFileSync</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
845 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
846 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
847 <listitem> |
2507 | 848 <literal>fs.promises</literal> API (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), |
849 asynchronous version of file system methods. | |
850 </listitem> | |
851 | |
852 <listitem> | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
853 <literal>Crypto</literal> methods |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
854 (<link doc="changes.xml" id="njs0.2.0">0.2.0</link>): |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
855 <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
|
856 <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
|
857 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
858 |
2584 | 859 <listitem id="querysting"> |
2585
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
860 <link doc="reference.xml" id="querystring"><literal>Query String</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
861 methods |
2584 | 862 (<link doc="changes.xml" id="njs0.4.3">0.4.3</link>): |
863 <link doc="reference.xml" id="querystring_decode"><literal>querystring.decode</literal></link>, | |
864 <link doc="reference.xml" id="querystring_encode"><literal>querystring.encode</literal></link>, | |
865 <link doc="reference.xml" id="querystring_escape"><literal>querystring.escape</literal></link>, | |
866 <link doc="reference.xml" id="querystring_parse"><literal>querystring.parse</literal></link>, | |
867 <link doc="reference.xml" id="querystring_stringify"><literal>querystring.stringify</literal></link>, | |
868 <link doc="reference.xml" id="querystring_unescape"><literal>querystring.unescape</literal></link> | |
869 </listitem> | |
870 | |
2585
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
871 <listitem id="textdecoder"> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
872 <link doc="reference.xml" id="textdecoder"><literal>TextDecoder</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
873 methods |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
874 (<link doc="changes.xml" id="njs0.4.3">0.4.3</link>): |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
875 <link doc="reference.xml" id="textdecoder_encoding"><literal>encoding</literal></link>, |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
876 <link doc="reference.xml" id="textdecoder_fatal"><literal>fatal</literal></link>, |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
877 <link doc="reference.xml" id="textdecoder_ignorebom"><literal>ignoreBOM</literal></link>, |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
878 <link doc="reference.xml" id="textdecoder_ignorebom"><literal>decode</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
879 </listitem> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
880 |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
881 <listitem id="textencoder"> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
882 <link doc="reference.xml" id="textencoder"><literal>TextEncoder</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
883 methods |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
884 (<link doc="changes.xml" id="njs0.4.3">0.4.3</link>): |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
885 <link doc="reference.xml" id="textencoder_encode"><literal>encode</literal></link>, |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
886 <link doc="reference.xml" id="textencoder_encodeinto"><literal>encodeInto</literal></link> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
887 </listitem> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
888 |
2353 | 889 <listitem> |
890 ES6 modules support: | |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
891 default <literal>export</literal> and |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
892 default <literal>import</literal> |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
893 statements |
2353 | 894 (<link doc="changes.xml" id="njs0.3.0">0.3.0</link>) |
895 </listitem> | |
896 | |
2369 | 897 <listitem> |
898 ES6 arrow functions | |
899 (<link doc="changes.xml" id="njs0.3.1">0.3.1</link>) | |
900 </listitem> | |
901 | |
2387 | 902 <listitem> |
903 Template literals: | |
904 multiline strings, expression interpolation, nesting templates | |
905 (<link doc="changes.xml" id="njs0.3.2">0.3.2</link>) | |
906 </listitem> | |
907 | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
908 <listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
909 Global objects |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
910 (<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
|
911 <list type="bullet"> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
912 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
913 <listitem> |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
914 <literal>globalThis</literal> alias |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
915 (<link doc="changes.xml" id="njs0.3.8">0.3.8</link>), |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
916 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
917 |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
918 <listitem> |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
919 <link doc="reference.xml" id="process"><literal>process</literal></link> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
920 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
921 |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
922 </list> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
923 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
924 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
925 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
926 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
927 </para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
928 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
929 </section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
930 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
931 </article> |