Mercurial > hg > nginx-site
annotate xml/en/docs/njs/compatibility.xml @ 2748:1d3a8a4adec2
nginx-1.21.1
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 06 Jul 2021 18:04:36 +0300 |
parents | c3303f98a246 |
children | 37edee5922d4 |
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" |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
12 rev="32" |
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>), |
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
82 <literal>const</literal> (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>) |
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
83 </listitem> |
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
84 |
d874ae125c3c
Added let and const methods to Compatibility in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2630
diff
changeset
|
85 <listitem> |
2398
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
86 <literal>Math</literal> properties: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
87 <list type="bullet"> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
88 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
89 <listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
90 ES6: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
91 <literal>E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
92 <literal>LN10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
93 <literal>LN2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
94 <literal>LOG10E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
95 <literal>LOG2E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
96 <literal>PI</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
97 <literal>SQRT1_2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
98 <literal>SQRT2</literal> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
99 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
100 </list> |
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 |
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 <literal>Math</literal> methods: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
105 <list type="bullet"> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
106 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
107 <listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
108 ES6: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
109 <literal>abs</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
110 <literal>acos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
111 <literal>acosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
112 <literal>asin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
113 <literal>asinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
114 <literal>atan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
115 <literal>atan2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
116 <literal>atanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
117 <literal>cbrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
118 <literal>ceil</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
119 <literal>clz32</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
120 <literal>cos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
121 <literal>cosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
122 <literal>exp</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
123 <literal>expm1</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
124 <literal>floor</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
125 <literal>fround</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
126 <literal>hypot</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
127 <literal>imul</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
128 <literal>log</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
129 <literal>log10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
130 <literal>log1p</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
131 <literal>log2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
132 <literal>max</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
133 <literal>min</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
134 <literal>pow</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
135 <literal>random</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
136 <literal>round</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
137 <literal>sign</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
138 <literal>sin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
139 <literal>sinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
140 <literal>sqrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
141 <literal>tan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
142 <literal>tanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
143 <literal>trunc</literal> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
144 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
145 </list> |
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 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
148 <listitem> |
2399
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
149 <literal>Number</literal> properties: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
150 <list type="bullet"> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
151 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
152 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
153 ES6: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
154 <literal>EPSILON</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
155 <literal>MAX_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
156 <literal>MAX_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
157 <literal>MIN_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
158 <literal>MIN_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
159 <literal>NEGATIVE_INFINITY</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
160 <literal>NaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
161 <literal>POSITIVE_INFINITY</literal> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
162 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
163 </list> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
164 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
165 </listitem> |
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 <literal>Number</literal> methods: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
169 <list type="bullet"> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
170 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
171 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
172 ES6: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
173 <literal>isFinite</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
174 <literal>isInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
175 <literal>isNaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
176 <literal>isSafeInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
177 <literal>parseFloat</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
178 <literal>parseInt</literal> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
179 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
180 </list> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
181 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
182 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
183 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
184 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
185 <literal>Number</literal> prototype methods: |
2446 | 186 <list type="bullet"> |
187 | |
188 <listitem> | |
189 ES6: | |
190 <literal>toExponential</literal> | |
191 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
192 <literal>toFixed</literal> | |
193 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
194 <literal>toPrecision</literal> | |
195 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>) | |
196 </listitem> | |
197 </list> | |
198 | |
199 </listitem> | |
200 | |
201 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
202 <literal>String</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
203 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
204 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
205 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
206 ES5.1: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
207 <literal>fromCharCode</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
208 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
209 |
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 ES6: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
212 <literal>fromCodePoint</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
213 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
214 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
215 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
216 </listitem> |
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> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
219 <literal>String</literal> prototype methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
220 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
221 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
222 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
223 ES5.1: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
224 <literal>charAt</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
225 <literal>concat</literal>, |
2602
90b32c2c0155
Fixed typo and versions mismatch in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2585
diff
changeset
|
226 <literal>indexOf</literal>, |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
227 <literal>lastIndexOf</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
228 <literal>match</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
229 <literal>replace</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
230 <literal>search</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
231 <literal>slice</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
232 <literal>split</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
233 <literal>substr</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
234 <literal>substring</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
235 <literal>toLowerCase</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
236 <literal>trim</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
237 <literal>toUpperCase</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
238 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
239 |
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 ES6: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
242 <literal>codePointAt</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
243 <literal>endsWith</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
244 <literal>includes</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
245 <literal>repeat</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
246 <literal>startsWith</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
247 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
248 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
249 <listitem> |
2269
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
250 ES8: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
251 <literal>padEnd</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
252 <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
|
253 </listitem> |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
254 |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
255 <listitem> |
2414 | 256 ES9: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
257 <literal>trimEnd</literal> |
2414 | 258 (<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
|
259 <literal>trimStart</literal> |
2414 | 260 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>) |
261 </listitem> | |
262 | |
263 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
264 non-standard: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
265 <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
|
266 (<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
|
267 <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
|
268 <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
|
269 <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
|
270 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
271 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
272 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
273 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
274 </listitem> |
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 <literal>Object</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
278 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
279 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
280 ES5.1: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
281 <literal>create</literal> (support without properties list), |
2414 | 282 <literal>defineProperties</literal> (accessor descriptors support |
283 since <link doc="changes.xml" id="njs0.3.3">0.3.3</link>), | |
284 <literal>defineProperty</literal> (accessor descriptors support | |
285 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
|
286 <literal>freeze</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
287 <literal>getOwnPropertyDescriptor</literal>, |
2395
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
288 <literal>getOwnPropertyDescriptors</literal> |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
289 (<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
|
290 <literal>getOwnPropertyNames</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>), |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
292 <literal>getPrototypeOf</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
293 <literal>isExtensible</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
294 <literal>isFrozen</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
295 <literal>isSealed</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
296 <literal>keys</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
297 <literal>preventExtensions</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
298 <literal>seal</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
299 </listitem> |
2312 | 300 |
301 <listitem> | |
2466 | 302 ES6: |
303 <literal>assign</literal> | |
304 (<link doc="changes.xml" id="njs0.3.7">0.3.7</link>) | |
305 </listitem> | |
306 | |
307 <listitem> | |
2312 | 308 ES8: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
309 <literal>entries</literal> |
2312 | 310 (<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
|
311 <literal>values</literal> |
2312 | 312 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) |
313 </listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
314 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
315 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
316 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
317 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
318 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
319 <literal>Object</literal> prototype methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
320 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
321 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
322 ES5.1: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
323 <literal>hasOwnProperty</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
324 <literal>isPrototypeOf</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
325 (<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
|
326 <literal>propertyIsEnumerable</literal>, |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
327 <literal>toString</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
328 <literal>valueOf</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
329 </listitem> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
330 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
331 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
332 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
333 <literal>is</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
334 (<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
|
335 <literal>setPrototypeOf</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 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
338 |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
339 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
340 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
341 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
342 <listitem> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
343 <literal>Array</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
344 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
345 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
346 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
347 <literal>isArray</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
348 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
349 |
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 ES6: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
352 <literal>of</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
353 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
354 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
355 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
356 </listitem> |
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> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
359 <literal>Array</literal> prototype methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
360 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
361 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
362 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
363 <literal>concat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
364 <literal>every</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
365 <literal>filter</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
366 <literal>forEach</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
367 <literal>indexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
368 <literal>join</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
369 <literal>lastIndexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
370 <literal>map</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
371 <literal>pop</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
372 <literal>push</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
373 <literal>reduce</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
374 <literal>reduceRight</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
375 <literal>reverse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
376 <literal>shift</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
377 <literal>slice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
378 <literal>some</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
379 <literal>sort</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
380 <literal>splice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
381 <literal>unshift</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
382 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
383 |
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 ES6: |
2466 | 386 <literal>copyWithin</literal> |
387 (<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
|
388 <literal>fill</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
389 <literal>find</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
390 <literal>findIndex</literal> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
391 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
392 |
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 ES7: <literal>includes</literal> |
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 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
397 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
398 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
399 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
400 <listitem> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
401 <literal>ArrayBuffer</literal> methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
402 (<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
|
403 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
404 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
405 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
406 <literal>isView</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
407 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
408 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
409 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
410 </listitem> |
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> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
413 <literal>ArrayBuffer</literal> prototype methods |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
414 (<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
|
415 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
416 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
417 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
418 <literal>slice</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
419 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
420 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
421 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
422 </listitem> |
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 <literal>Typed-array</literal> constructors |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
426 (<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
|
427 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
428 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
429 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
430 <literal>Int8Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
431 <literal>Uint8Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
432 <literal>Uint8ClampedArray</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
433 <literal>Int16Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
434 <literal>Uint16Array</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
435 <literal>Int32Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
436 <literal>Uint32Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
437 <literal>Float32Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
438 <literal>Float64Array</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
439 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
440 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
441 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
442 </listitem> |
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> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
445 <literal>Typed-array</literal> prototype methods |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
446 (<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
|
447 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
448 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
449 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
450 <literal>copyWithin</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
451 <literal>every</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
452 (<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
|
453 <literal>fill</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
454 <literal>filter</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
455 (<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
|
456 <literal>find</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>findIndex</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>forEach</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>includes</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>indexOf</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>), |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
466 <literal>join</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
467 <literal>lastIndexOf</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
468 (<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
|
469 <literal>map</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>reduce</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>reduceRight</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>reverse</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>), |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
477 <literal>set</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
478 <literal>slice</literal>, |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
479 <literal>some</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
480 (<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
|
481 <literal>sort</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.2">0.4.2</link>), |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
483 <literal>subarray</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
484 <literal>toString</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
485 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
486 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
487 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
488 </listitem> |
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> |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
491 <literal>Buffer</literal> methods |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
492 (<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
|
493 <list type="bullet"> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
494 <listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
495 <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
|
496 <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
|
497 <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
|
498 <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
|
499 <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
|
500 <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
|
501 <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
|
502 <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
|
503 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
504 </list> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
505 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
506 </listitem> |
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> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
509 <literal>Buffer</literal> prototype methods: |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
510 (<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
|
511 <list type="bullet"> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
512 <listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
513 <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
|
514 <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
|
515 <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
|
516 <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
|
517 <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
|
518 <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
|
519 <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
|
520 <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
|
521 <literal>readInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
522 <literal>readInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
523 <literal>readInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
524 <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
|
525 <literal>readInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
526 <literal>readInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
527 <literal>readInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
528 <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
|
529 <literal>readUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
530 <literal>readUInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
531 <literal>readUInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
532 <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
|
533 <literal>readUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
534 <literal>readUInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
535 <literal>readUInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
536 <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
|
537 <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
|
538 <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
|
539 <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
|
540 <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
|
541 <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
|
542 <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
|
543 <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
|
544 <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
|
545 <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
|
546 <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
|
547 <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
|
548 <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
|
549 <literal>writeInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
550 <literal>writeInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
551 <literal>writeInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
552 <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
|
553 <literal>writeInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
554 <literal>writeInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
555 <literal>writeInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
556 <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
|
557 <literal>writeUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
558 <literal>writeUInt16BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
559 <literal>writeUInt32BE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
560 <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
|
561 <literal>writeUInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
562 <literal>writeUInt16LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
563 <literal>writeUInt32LE</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
564 <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
|
565 <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
|
566 <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
|
567 <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
|
568 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
569 </list> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
570 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
571 </listitem> |
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> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
574 <literal>Promise</literal> methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
575 (<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
|
576 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
577 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
578 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
579 <literal>reject</literal>, |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
580 <literal>resolve</literal> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
581 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
582 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
583 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
584 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
585 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
586 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
587 <literal>Promise</literal> prototype methods |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
588 (<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
|
589 <list type="bullet"> |
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 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
592 <literal>catch</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
593 <literal>finally</literal>, |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
594 <literal>then</literal> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
595 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
596 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
597 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
598 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
599 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
600 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
601 <literal>Function</literal> prototype methods: |
2387 | 602 <list type="bullet"> |
603 | |
604 <listitem> | |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
605 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
606 <literal>apply</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
607 <literal>bind</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
608 <literal>call</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
609 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
610 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
611 |
2387 | 612 </listitem> |
613 | |
614 <listitem> | |
2739
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
615 <literal>RegExp</literal> prototype accessor properties: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
616 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
617 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
618 <listitem> |
2739
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
619 <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
|
620 <literal>global</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
621 <literal>ignoreCase</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
622 <literal>multiline</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
623 <literal>source</literal>, |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
624 <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
|
625 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
626 </list> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
627 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
628 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
629 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
630 <listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
631 <literal>RegExp</literal> prototype methods: |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
632 <list type="bullet"> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
633 |
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 <literal>[@@replace]</literal> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
636 (<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
|
637 <literal>[@@split]</literal> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
638 (<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
|
639 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
640 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
641 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
642 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
643 <literal>exec</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
644 <literal>test</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
645 <literal>toString</literal> |
2387 | 646 </listitem> |
647 </list> | |
648 | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
649 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
650 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
651 <listitem> |
2739
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
652 <literal>RegExp</literal> instance properties: |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
653 <list type="bullet"> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
654 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
655 <listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
656 <literal>lastIndex</literal> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
657 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
658 </list> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
659 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
660 </listitem> |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
661 |
887c0d145bae
Added more RegExp methods in Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2738
diff
changeset
|
662 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
663 <literal>RegExp</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
664 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
|
665 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
666 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
667 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
668 <literal>DataView</literal> prototype methods |
2613
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
669 (<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
|
670 <list type="bullet"> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
671 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
672 <listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
673 ES6: |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
674 <literal>getFloat32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
675 <literal>getFloat64</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
676 <literal>getInt16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
677 <literal>getInt32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
678 <literal>getInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
679 <literal>getUint16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
680 <literal>getUint32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
681 <literal>getUint8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
682 <literal>setFloat32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
683 <literal>setFloat64</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
684 <literal>setInt16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
685 <literal>setInt32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
686 <literal>setInt8</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
687 <literal>setUint16</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
688 <literal>setUint32</literal>, |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
689 <literal>setUint8</literal> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
690 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
691 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
692 </list> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
693 </listitem> |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
694 |
19adce855a3f
Updated njs Compatibility with new methods.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2602
diff
changeset
|
695 <listitem> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
696 <literal>Date</literal> methods: |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
697 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
698 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
699 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
700 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
701 <literal>now</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
702 <literal>parse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
703 <literal>UTC</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
704 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
705 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
706 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
707 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
708 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
709 <listitem> |
2740
c3303f98a246
Replaced "instance" to "prototype" in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2739
diff
changeset
|
710 <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
|
711 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
712 |
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 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
715 <literal>getDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
716 <literal>getDay</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
717 <literal>getFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
718 <literal>getHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
719 <literal>getMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
720 <literal>getMinutes</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
721 <literal>getMonth</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
722 <literal>getSeconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
723 <literal>getTime</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
724 <literal>getTimezoneOffset</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
725 <literal>getUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
726 <literal>getUTCDay</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
727 <literal>getUTCFullYear</literal>, |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
728 <literal>getUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
729 <literal>getUTCMilliseconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
730 <literal>getUTCMinutes</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
731 <literal>getUTCMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
732 <literal>getUTCSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
733 <literal>toDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
734 <literal>toISOString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
735 <literal>toLocaleDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
736 <literal>toLocaleString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
737 <literal>toLocaleTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
738 <literal>toTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
739 <literal>toUTCString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
740 <literal>setDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
741 <literal>setFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
742 <literal>setHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
743 <literal>setMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
744 <literal>setMilliseconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
745 <literal>setMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
746 <literal>setSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
747 <literal>setTime</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
748 <literal>setUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
749 <literal>setUTCFullYear</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
750 <literal>setUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
751 <literal>setUTCMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
752 <literal>setUTCMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
753 <literal>setUTCMonth</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
754 <literal>setUTCSeconds</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
755 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
756 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
757 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
758 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
759 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
760 <listitem> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
761 <literal>JSON</literal> methods: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
762 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
763 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
764 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
765 ES5.1: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
766 <literal>parse</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
767 <literal>stringify</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
768 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
769 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
770 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
771 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
772 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
773 <listitem> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
774 ES5.1 <literal>arguments</literal> object |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
775 (<link doc="changes.xml" id="njs0.2.5">0.2.5</link>) |
2264 | 776 </listitem> |
777 | |
778 <listitem> | |
2312 | 779 ES6 rest parameters syntax (without destructuring support) |
780 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) | |
781 </listitem> | |
782 | |
783 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
784 ES5.1 global functions: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
785 <literal>decodeURI</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
786 <literal>decodeURIComponent</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
787 <literal>encodeURI</literal>, |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
788 <literal>encodeURIComponent</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
789 <literal>isFinite</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
790 <literal>isNaN</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
791 <literal>parseFloat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
792 <literal>parseInt</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
793 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
794 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
795 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
796 <literal>Error</literal> objects: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
797 <literal>Error</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
798 <literal>EvalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
799 <literal>InternalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
800 <literal>RangeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
801 <literal>ReferenceError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
802 <literal>SyntaxError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
803 <literal>TypeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
804 <literal>URIError</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
805 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
806 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
807 <listitem> |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
808 <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
|
809 and |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
810 <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
|
811 functions |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
812 (<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
|
813 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
814 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
815 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
816 <literal>File system</literal> methods: |
2507 | 817 <link doc="reference.xml" id="fs_accesssync"><literal>fs.accessSync</literal></link> |
818 (<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
|
819 <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
|
820 <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
|
821 (<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
|
822 <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
|
823 (<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
|
824 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, |
2507 | 825 <link doc="reference.xml" id="fs_realpathsync"><literal>fs.realpathSync</literal></link> |
826 (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | |
827 <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
|
828 (<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
|
829 <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
|
830 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>), |
2507 | 831 <link doc="reference.xml" id="fs_symlinksync"><literal>fs.symlinkSync</literal></link> |
832 (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | |
833 <link doc="reference.xml" id="fs_unlinksync"><literal>fs.unlinkSync</literal></link> | |
834 (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), | |
2584 | 835 <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
|
836 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
837 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
838 <listitem> |
2507 | 839 <literal>fs.promises</literal> API (<link doc="changes.xml" id="njs0.3.9">0.3.9</link>), |
840 asynchronous version of file system methods. | |
841 </listitem> | |
842 | |
843 <listitem> | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
844 <literal>Crypto</literal> methods |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2565
diff
changeset
|
845 (<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
|
846 <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
|
847 <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
|
848 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
849 |
2584 | 850 <listitem id="querysting"> |
2585
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
851 <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
|
852 methods |
2584 | 853 (<link doc="changes.xml" id="njs0.4.3">0.4.3</link>): |
854 <link doc="reference.xml" id="querystring_decode"><literal>querystring.decode</literal></link>, | |
855 <link doc="reference.xml" id="querystring_encode"><literal>querystring.encode</literal></link>, | |
856 <link doc="reference.xml" id="querystring_escape"><literal>querystring.escape</literal></link>, | |
857 <link doc="reference.xml" id="querystring_parse"><literal>querystring.parse</literal></link>, | |
858 <link doc="reference.xml" id="querystring_stringify"><literal>querystring.stringify</literal></link>, | |
859 <link doc="reference.xml" id="querystring_unescape"><literal>querystring.unescape</literal></link> | |
860 </listitem> | |
861 | |
2585
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
862 <listitem id="textdecoder"> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
863 <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
|
864 methods |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
865 (<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
|
866 <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
|
867 <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
|
868 <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
|
869 <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
|
870 </listitem> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
871 |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
872 <listitem id="textencoder"> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
873 <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
|
874 methods |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
875 (<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
|
876 <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
|
877 <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
|
878 </listitem> |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
879 |
2353 | 880 <listitem> |
881 ES6 modules support: | |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
882 default <literal>export</literal> and |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
883 default <literal>import</literal> |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
884 statements |
2353 | 885 (<link doc="changes.xml" id="njs0.3.0">0.3.0</link>) |
886 </listitem> | |
887 | |
2369 | 888 <listitem> |
889 ES6 arrow functions | |
890 (<link doc="changes.xml" id="njs0.3.1">0.3.1</link>) | |
891 </listitem> | |
892 | |
2387 | 893 <listitem> |
894 Template literals: | |
895 multiline strings, expression interpolation, nesting templates | |
896 (<link doc="changes.xml" id="njs0.3.2">0.3.2</link>) | |
897 </listitem> | |
898 | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
899 <listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
900 Global objects |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
901 (<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
|
902 <list type="bullet"> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
903 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
904 <listitem> |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
905 <literal>globalThis</literal> alias |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
906 (<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
|
907 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
908 |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
909 <listitem> |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
910 <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
|
911 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
912 |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
913 </list> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
914 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
915 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
916 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
917 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
918 </para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
919 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
920 </section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
921 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
922 </article> |