Mercurial > hg > nginx-site
annotate xml/en/docs/njs/compatibility.xml @ 2501:2b494b8ff72d
Documented the "Entry exists" error in the API.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 12 Feb 2020 15:10:47 +0000 |
parents | b6f9da728570 |
children | 8ad2ea80e0c2 |
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" |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
12 rev="22" |
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 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
26 </section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
27 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
28 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
29 <section id="supported" name="What is currently supported"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
30 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
31 <para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
32 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
33 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
34 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
35 Boolean values, numbers, strings, objects, arrays, |
2446 | 36 functions, function constructors |
37 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
38 and regular expressions | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
39 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
40 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
41 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
42 ES5.1 operators, ES7 exponentiation operators |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
43 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
44 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
45 <listitem> |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
46 ES5.1 statements: |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
47 <literal>break</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
48 <literal>catch</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
49 <literal>continue</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
50 <literal>do while</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
51 <literal>else</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
52 <literal>finally</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
53 <literal>for</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
54 <literal>for in</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
55 <literal>if</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
56 <literal>return</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
57 <literal>switch</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
58 <literal>throw</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
59 <literal>try</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
60 <literal>var</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
61 <literal>while</literal>, |
2339
a72bd8324c0b
Added njs labeled statements to Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2333
diff
changeset
|
62 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
|
63 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
64 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
65 <listitem> |
2398
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
66 <literal>Math</literal> properties: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
67 <list type="bullet"> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
68 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
69 <listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
70 ES6: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
71 <literal>E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
72 <literal>LN10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
73 <literal>LN2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
74 <literal>LOG10E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
75 <literal>LOG2E</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
76 <literal>PI</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
77 <literal>SQRT1_2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
78 <literal>SQRT2</literal> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
79 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
80 </list> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
81 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
82 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
83 <listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
84 <literal>Math</literal> methods: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
85 <list type="bullet"> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
86 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
87 <listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
88 ES6: |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
89 <literal>abs</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
90 <literal>acos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
91 <literal>acosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
92 <literal>asin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
93 <literal>asinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
94 <literal>atan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
95 <literal>atan2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
96 <literal>atanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
97 <literal>cbrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
98 <literal>ceil</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
99 <literal>clz32</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
100 <literal>cos</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
101 <literal>cosh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
102 <literal>exp</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
103 <literal>expm1</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
104 <literal>floor</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
105 <literal>fround</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
106 <literal>hypot</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
107 <literal>imul</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
108 <literal>log</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
109 <literal>log10</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
110 <literal>log1p</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
111 <literal>log2</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
112 <literal>max</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
113 <literal>min</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
114 <literal>pow</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
115 <literal>random</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
116 <literal>round</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
117 <literal>sign</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
118 <literal>sin</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
119 <literal>sinh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
120 <literal>sqrt</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
121 <literal>tan</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
122 <literal>tanh</literal>, |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
123 <literal>trunc</literal> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
124 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
125 </list> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
126 </listitem> |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
127 |
d7e25f17dbf0
Added Math properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2396
diff
changeset
|
128 <listitem> |
2399
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
129 <literal>Number</literal> properties: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
130 <list type="bullet"> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
131 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
132 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
133 ES6: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
134 <literal>EPSILON</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
135 <literal>MAX_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
136 <literal>MAX_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
137 <literal>MIN_SAFE_INTEGER</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
138 <literal>MIN_VALUE</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
139 <literal>NEGATIVE_INFINITY</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
140 <literal>NaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
141 <literal>POSITIVE_INFINITY</literal> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
142 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
143 </list> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
144 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
145 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
146 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
147 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
148 <literal>Number</literal> methods: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
149 <list type="bullet"> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
150 |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
151 <listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
152 ES6: |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
153 <literal>isFinite</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
154 <literal>isInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
155 <literal>isNaN</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
156 <literal>isSafeInteger</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
157 <literal>parseFloat</literal>, |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
158 <literal>parseInt</literal> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
159 </listitem> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
160 </list> |
3e0407ec741e
Added Number properties and methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2398
diff
changeset
|
161 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
162 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
163 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
164 <listitem> |
2446 | 165 <literal>Number</literal> instance methods: |
166 <list type="bullet"> | |
167 | |
168 <listitem> | |
169 ES6: | |
170 <literal>toExponential</literal> | |
171 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
172 <literal>toFixed</literal> | |
173 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>), | |
174 <literal>toPrecision</literal> | |
175 (<link doc="changes.xml" id="njs0.3.6">0.3.6</link>) | |
176 </listitem> | |
177 </list> | |
178 | |
179 </listitem> | |
180 | |
181 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
182 <literal>String</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
183 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
184 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
185 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
186 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
187 <link doc="reference.xml" id="string_fromcharcode"><literal>fromCharCode</literal></link> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
188 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
189 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
190 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
191 ES6: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
192 <link doc="reference.xml" id="string_fromcodepoint"><literal>fromCodePoint</literal></link> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
193 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
194 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
195 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
196 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
197 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
198 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
199 <literal>String</literal> instance methods: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
200 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
201 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
202 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
203 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
204 <link doc="reference.xml" id="string_charat"><literal>charAt</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
205 <link doc="reference.xml" id="string_concat"><literal>concat</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
206 <link doc="reference.xml" id="string_indexof"><literal>indexOf</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
207 <link doc="reference.xml" id="string_lastindexof"><literal>lastIndexOf</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
208 <link doc="reference.xml" id="string_match"><literal>match</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
209 <link doc="reference.xml" id="string_replace"><literal>replace</literal></link> |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
210 <link doc="reference.xml" id="string_search"><literal>search</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
211 <link doc="reference.xml" id="string_slice"><literal>slice</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
212 <link doc="reference.xml" id="string_split"><literal>split</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
213 <link doc="reference.xml" id="string_substr"><literal>substr</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
214 <link doc="reference.xml" id="string_substring"><literal>substring</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
215 <link doc="reference.xml" id="string_tolowercase"><literal>toLowerCase</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
216 <link doc="reference.xml" id="string_trim"><literal>trim</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
217 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
218 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
219 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
220 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
221 ES6: |
2271
34a1901e663d
Described charAt, codePointAt, fromCharCode in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2269
diff
changeset
|
222 <link doc="reference.xml" id="string_codepointat"><literal>codePointAt</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
223 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
224 <link doc="reference.xml" id="string_includes"><literal>includes</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
225 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
226 <link doc="reference.xml" id="string_startswith"><literal>startsWith</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
227 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
228 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
229 <listitem> |
2269
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
230 ES8: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
231 <link doc="reference.xml" id="string_padend"><literal>padEnd</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
232 <link doc="reference.xml" id="string_padstart"><literal>padStart</literal></link> |
2269
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
233 </listitem> |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
234 |
6426814f9373
Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2267
diff
changeset
|
235 <listitem> |
2414 | 236 ES9: |
237 <link doc="reference.xml" id="string_trimend"><literal>trimEnd</literal></link> | |
238 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>), | |
239 <link doc="reference.xml" id="string_trimstart"><literal>trimStart</literal></link> | |
240 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>) | |
241 </listitem> | |
242 | |
243 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
244 non-standard: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
245 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> (0.2.3), |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
246 <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
|
247 <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
|
248 <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
|
249 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
250 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
251 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
252 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
253 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
254 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
255 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
256 <literal>Object</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
257 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
258 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
259 ES5.1: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
260 <literal>create</literal> (support without properties list), |
2414 | 261 <literal>defineProperties</literal> (accessor descriptors support |
262 since <link doc="changes.xml" id="njs0.3.3">0.3.3</link>), | |
263 <literal>defineProperty</literal> (accessor descriptors support | |
264 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
|
265 <literal>freeze</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
266 <literal>getOwnPropertyDescriptor</literal>, |
2395
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
267 <literal>getOwnPropertyDescriptors</literal> |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
268 (<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
|
269 <literal>getOwnPropertyNames</literal> |
9e0ef39f58dd
Added missing methods, removed odd methods in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2394
diff
changeset
|
270 (<link doc="changes.xml" id="njs0.3.1">0.3.1</link>), |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
271 <literal>getPrototypeOf</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
272 <literal>isExtensible</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
273 <literal>isFrozen</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
274 <literal>isSealed</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
275 <literal>keys</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
276 <literal>preventExtensions</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
277 <literal>seal</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
278 </listitem> |
2312 | 279 |
280 <listitem> | |
2466 | 281 ES6: |
282 <literal>assign</literal> | |
283 (<link doc="changes.xml" id="njs0.3.7">0.3.7</link>) | |
284 </listitem> | |
285 | |
286 <listitem> | |
2312 | 287 ES8: |
288 <link doc="reference.xml" id="object_entries"><literal>entries</literal></link> | |
289 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>), | |
290 <link doc="reference.xml" id="object_values"><literal>values</literal></link> | |
291 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) | |
292 </listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
293 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
294 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
295 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
296 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
297 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
298 <literal>Object</literal> instance methods: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
299 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
300 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
301 ES5.1: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
302 <literal>hasOwnProperty</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
303 <literal>isPrototypeOf</literal>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
304 (<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
|
305 <literal>propertyIsEnumerable</literal>, |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
306 <literal>toString</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
307 <literal>valueOf</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
308 </listitem> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
309 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
310 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
311 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
312 <literal>is</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
313 (<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
|
314 <literal>setPrototypeOf</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
315 (<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
|
316 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
317 |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
318 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
319 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
320 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
321 <listitem> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
322 <literal>Array</literal> methods: |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
323 <list type="bullet"> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
324 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
325 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
326 <literal>isArray</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
327 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
328 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
329 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
330 ES6: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
331 <literal>of</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
332 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
333 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
334 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
335 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
336 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
337 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
338 <literal>Array</literal> instance methods: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
339 <list type="bullet"> |
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 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
342 <literal>concat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
343 <literal>every</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
344 <literal>filter</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
345 <literal>forEach</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
346 <literal>indexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
347 <literal>join</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
348 <literal>lastIndexOf</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
349 <literal>map</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
350 <literal>pop</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
351 <literal>push</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
352 <literal>reduce</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
353 <literal>reduceRight</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
354 <literal>reverse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
355 <literal>shift</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
356 <literal>slice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
357 <literal>some</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
358 <literal>sort</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
359 <literal>splice</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
360 <literal>unshift</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
361 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
362 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
363 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
364 ES6: |
2466 | 365 <literal>copyWithin</literal> |
366 (<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
|
367 <literal>fill</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
368 <literal>find</literal>, |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
369 <literal>findIndex</literal> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
370 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
371 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
372 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
373 ES7: <literal>includes</literal> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
374 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
375 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
376 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
377 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
378 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
379 <listitem> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
380 <literal>ArrayBuffer</literal> methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
381 (<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
|
382 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
383 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
384 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
385 <literal>isView</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
386 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
387 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
388 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
389 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
390 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
391 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
392 <literal>ArrayBuffer</literal> instance methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
393 (<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
|
394 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
395 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
396 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
397 <literal>slice</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
398 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
399 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
400 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
401 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
402 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
403 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
404 <literal>Typed-array</literal> constructors |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
405 (<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
|
406 <list type="bullet"> |
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 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
409 <literal>Int8Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
410 <literal>Uint8Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
411 <literal>Uint8ClampedArray</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
412 <literal>Int16Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
413 <literal>Uint16Array</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
414 <literal>Int32Array</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
415 <literal>Uint32Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
416 <literal>Float32Array</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
417 <literal>Float64Array</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
418 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
419 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
420 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
421 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
422 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
423 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
424 <literal>Typed-array</literal> instance methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
425 (<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
|
426 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
427 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
428 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
429 <literal>copyWithin</literal>, |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
430 <literal>fill</literal>, |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
431 <literal>join</literal>, |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
432 <literal>set</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
433 <literal>slice</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
434 <literal>subarray</literal>, |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
435 <literal>toString</literal> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
436 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
437 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
438 |
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 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
441 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
442 <literal>Promise</literal> methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
443 (<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
|
444 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
445 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
446 ES6: |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
447 <literal>reject</literal>, |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
448 <literal>resolve</literal> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
449 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
450 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
451 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
452 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
453 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
454 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
455 <literal>Promise</literal> instance methods |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
456 (<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
|
457 <list type="bullet"> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
458 <listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
459 ES6: |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
460 <literal>catch</literal>, |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
461 <literal>finally</literal>, |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
462 <literal>then</literal> |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
463 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
464 </list> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
465 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
466 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
467 |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
468 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
469 <literal>Function</literal> instance methods: |
2387 | 470 <list type="bullet"> |
471 | |
472 <listitem> | |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
473 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
474 <literal>apply</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
475 <literal>bind</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
476 <literal>call</literal> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
477 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
478 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
479 |
2387 | 480 </listitem> |
481 | |
482 <listitem> | |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
483 <literal>RegExp</literal> instance methods: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
484 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
485 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
486 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
487 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
488 <literal>exec</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
489 <literal>test</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
490 <literal>toString</literal> |
2387 | 491 </listitem> |
492 </list> | |
493 | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
494 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
495 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
496 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
497 <literal>RegExp</literal> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
498 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
|
499 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
500 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
501 <listitem> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
502 <literal>Date</literal> methods: |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
503 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
504 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
505 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
506 ES5.1: |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
507 <literal>now</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
508 <literal>parse</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
509 <literal>UTC</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
510 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
511 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
512 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
513 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
514 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
515 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
516 <literal>Date</literal> instance methods: |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
517 <list type="bullet"> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
518 |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
519 <listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
520 ES5.1: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
521 <literal>getDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
522 <literal>getDay</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
523 <literal>getFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
524 <literal>getHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
525 <literal>getMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
526 <literal>getMinutes</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
527 <literal>getMonth</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
528 <literal>getSeconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
529 <literal>getTime</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
530 <literal>getTimezoneOffset</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
531 <literal>getUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
532 <literal>getUTCDay</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
533 <literal>getUTCFullYear</literal>, |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
534 <literal>getUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
535 <literal>getUTCMilliseconds</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
536 <literal>getUTCMinutes</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
537 <literal>getUTCMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
538 <literal>getUTCSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
539 <literal>toDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
540 <literal>toISOString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
541 <literal>toLocaleDateString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
542 <literal>toLocaleString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
543 <literal>toLocaleTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
544 <literal>toTimeString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
545 <literal>toUTCString</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
546 <literal>setDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
547 <literal>setFullYear</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
548 <literal>setHours</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
549 <literal>setMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
550 <literal>setMilliseconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
551 <literal>setMonth</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
552 <literal>setSeconds</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
553 <literal>setTime</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
554 <literal>setUTCDate</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
555 <literal>setUTCFullYear</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
556 <literal>setUTCHours</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
557 <literal>setUTCMilliseconds</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
558 <literal>setUTCMinutes</literal>, |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
559 <literal>setUTCMonth</literal>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
560 <literal>setUTCSeconds</literal> |
2393
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
561 </listitem> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
562 </list> |
26fc5c8f13fd
Added the list of Date methods to njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2387
diff
changeset
|
563 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
564 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
565 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
566 <listitem> |
2394
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
567 <link doc="reference.xml" id="core_json"><literal>JSON</literal></link> methods: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
568 <list type="bullet"> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
569 |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
570 <listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
571 ES5.1: |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
572 <link doc="reference.xml" id="core_json_parse"><literal>parse</literal></link>, |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
573 <link doc="reference.xml" id="core_json_stringify"><literal>stringify</literal></link> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
574 </listitem> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
575 </list> |
bde611cbb7ae
Reordered some items in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2393
diff
changeset
|
576 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
577 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
578 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
579 <listitem> |
2264 | 580 ES5.1 <literal>arguments</literal> object (0.2.5) |
581 </listitem> | |
582 | |
583 <listitem> | |
2312 | 584 ES6 rest parameters syntax (without destructuring support) |
585 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>) | |
586 </listitem> | |
587 | |
588 <listitem> | |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
589 ES5.1 global functions: |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
590 <link doc="reference.xml" id="decodeuri"><literal>decodeURI</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
591 <link doc="reference.xml" id="decodeuricomponent"><literal>decodeURIComponent</literal></link>, |
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
592 <link doc="reference.xml" id="encodeuri"><literal>encodeURI</literal></link>, |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
593 <link doc="reference.xml" id="encodeuricomponent"><literal>encodeURIComponent</literal></link>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
594 <literal>isFinite</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
595 <literal>isNaN</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
596 <literal>parseFloat</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
597 <literal>parseInt</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
598 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
599 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
600 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
601 <literal>Error</literal> objects: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
602 <literal>Error</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
603 <literal>EvalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
604 <literal>InternalError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
605 <literal>RangeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
606 <literal>ReferenceError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
607 <literal>SyntaxError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
608 <literal>TypeError</literal>, |
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
609 <literal>URIError</literal> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
610 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
611 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
612 <listitem> |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
613 <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
|
614 and |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
615 <link doc="reference.xml" id="settimeout"><literal>setTimeout</literal></link> |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
616 functions (0.2.0) |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
617 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
618 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
619 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
620 <literal>File system</literal> methods: |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
621 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
622 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, |
2414 | 623 <link doc="reference.xml" id="renamesync"><literal>fs.renameSync</literal></link> |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
624 (<link doc="changes.xml" id="njs0.3.4">0.3.4</link>), |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
625 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
626 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
627 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
628 <listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
629 <literal>Crypto</literal> methods (0.2.0): |
2267
c30048802769
Added links to njs reference from njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2264
diff
changeset
|
630 <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
|
631 <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
|
632 </listitem> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
633 |
2353 | 634 <listitem> |
635 ES6 modules support: | |
2396
6c3456265fe7
Reordered items alphabetically in njs Compatibility.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2395
diff
changeset
|
636 default <literal>export</literal> and |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
637 default <literal>import</literal> |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
638 statements |
2353 | 639 (<link doc="changes.xml" id="njs0.3.0">0.3.0</link>) |
640 </listitem> | |
641 | |
2369 | 642 <listitem> |
643 ES6 arrow functions | |
644 (<link doc="changes.xml" id="njs0.3.1">0.3.1</link>) | |
645 </listitem> | |
646 | |
2387 | 647 <listitem> |
648 Template literals: | |
649 multiline strings, expression interpolation, nesting templates | |
650 (<link doc="changes.xml" id="njs0.3.2">0.3.2</link>) | |
651 </listitem> | |
652 | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
653 <listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
654 Global objects |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
655 (<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
|
656 <list type="bullet"> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
657 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
658 <listitem> |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
659 <literal>globalThis</literal> alias |
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
660 (<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
|
661 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
662 |
2486
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
663 <listitem> |
2490
b6f9da728570
Sorted methods alphabetically in njs Compatability.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2486
diff
changeset
|
664 <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
|
665 </listitem> |
b40a2e795fd9
Updated Compatibility for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
666 |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
667 </list> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
668 </listitem> |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
669 |
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2399
diff
changeset
|
670 |
2245
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
671 </list> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
672 </para> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
673 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
674 </section> |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
675 |
87a0e2c73a25
Refactored njs documentation.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
676 </article> |