jscrewit 2.37.0 → 2.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Features.md +45 -28
- package/api-doc/README.md +15 -109
- package/api-doc/functions/encode.md +35 -0
- package/api-doc/interfaces/CustomFeature.md +47 -43
- package/api-doc/interfaces/ElementaryFeature.md +46 -42
- package/api-doc/interfaces/EncodeOptions.md +14 -19
- package/api-doc/interfaces/Feature.md +43 -40
- package/api-doc/interfaces/FeatureAll.md +409 -420
- package/api-doc/interfaces/FeatureConstructor.md +587 -593
- package/api-doc/interfaces/PredefinedFeature.md +48 -42
- package/api-doc/interfaces/default.md +8 -11
- package/api-doc/interfaces/encode.md +15 -18
- package/api-doc/type-aliases/ElementaryFeatureName.md +9 -0
- package/api-doc/type-aliases/FeatureElement.md +14 -0
- package/api-doc/type-aliases/FeatureElementOrCompatibleArray.md +16 -0
- package/api-doc/type-aliases/PredefinedFeatureName.md +9 -0
- package/api-doc/type-aliases/RunAs.md +10 -0
- package/api-doc/variables/Feature.md +7 -0
- package/api-doc/variables/default.md +7 -0
- package/lib/feature-all.d.ts +102 -36
- package/lib/feature.d.ts +6 -6
- package/lib/jscrewit.js +886 -186
- package/lib/jscrewit.min.js +2 -2
- package/package.json +4 -3
- package/readme.md +14 -17
- package/ui/ui.js +1 -1
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
[**JScrewIt**](../README.md) • **Docs**
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
***
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
↳ **`FeatureConstructor`**
|
|
5
|
+
# Interface: FeatureConstructor()
|
|
8
6
|
|
|
9
|
-
##
|
|
7
|
+
## Extends
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
- [`FeatureAll`](FeatureAll.md)
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
> **FeatureConstructor**(...`features`): [`CustomFeature`](CustomFeature.md)
|
|
14
12
|
|
|
15
13
|
Creates a new feature object from the union of the specified features.
|
|
16
14
|
|
|
@@ -19,17 +17,15 @@ The constructor can be used with or without the `new` operator, e.g.
|
|
|
19
17
|
If no arguments are specified, the new feature object will be equivalent to
|
|
20
18
|
[`DEFAULT`](FeatureAll.md#default).
|
|
21
19
|
|
|
22
|
-
|
|
20
|
+
## Parameters
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
| :------ | :------ |
|
|
26
|
-
| `...features` | [`FeatureElementOrCompatibleArray`](../README.md#featureelementorcompatiblearray)[] |
|
|
22
|
+
• ...**features**: [`FeatureElementOrCompatibleArray`](../type-aliases/FeatureElementOrCompatibleArray.md)[]
|
|
27
23
|
|
|
28
|
-
|
|
24
|
+
## Returns
|
|
29
25
|
|
|
30
26
|
[`CustomFeature`](CustomFeature.md)
|
|
31
27
|
|
|
32
|
-
|
|
28
|
+
## Example
|
|
33
29
|
|
|
34
30
|
The following statements are equivalent, and will all construct a new feature object
|
|
35
31
|
including both [`ANY_DOCUMENT`](FeatureAll.md#any_document) and [`ANY_WINDOW`](FeatureConstructor.md#any_window).
|
|
@@ -46,129 +42,15 @@ new JScrewIt.Feature(JScrewIt.Feature.ANY_DOCUMENT, JScrewIt.Feature.ANY_WINDOW)
|
|
|
46
42
|
new JScrewIt.Feature([JScrewIt.Feature.ANY_DOCUMENT, JScrewIt.Feature.ANY_WINDOW]);
|
|
47
43
|
```
|
|
48
44
|
|
|
49
|
-
|
|
45
|
+
## Throws
|
|
50
46
|
|
|
51
47
|
An error is thrown if any of the specified features are not mutually compatible.
|
|
52
48
|
|
|
53
|
-
## Table of contents
|
|
54
|
-
|
|
55
|
-
### Constructors
|
|
56
|
-
|
|
57
|
-
- [constructor](FeatureConstructor.md#constructor)
|
|
58
|
-
|
|
59
|
-
### Properties
|
|
60
|
-
|
|
61
|
-
- [ALL](FeatureConstructor.md#all)
|
|
62
|
-
- [ANDRO\_4\_0](FeatureConstructor.md#andro_4_0)
|
|
63
|
-
- [ANDRO\_4\_1](FeatureConstructor.md#andro_4_1)
|
|
64
|
-
- [ANDRO\_4\_4](FeatureConstructor.md#andro_4_4)
|
|
65
|
-
- [ANY\_DOCUMENT](FeatureConstructor.md#any_document)
|
|
66
|
-
- [ANY\_WINDOW](FeatureConstructor.md#any_window)
|
|
67
|
-
- [ARRAY\_ITERATOR](FeatureConstructor.md#array_iterator)
|
|
68
|
-
- [ARROW](FeatureConstructor.md#arrow)
|
|
69
|
-
- [AT](FeatureConstructor.md#at)
|
|
70
|
-
- [ATOB](FeatureConstructor.md#atob)
|
|
71
|
-
- [AUTO](FeatureConstructor.md#auto)
|
|
72
|
-
- [BARPROP](FeatureConstructor.md#barprop)
|
|
73
|
-
- [BROWSER](FeatureConstructor.md#browser)
|
|
74
|
-
- [CAPITAL\_HTML](FeatureConstructor.md#capital_html)
|
|
75
|
-
- [CHROME](FeatureConstructor.md#chrome)
|
|
76
|
-
- [CHROME\_122](FeatureConstructor.md#chrome_122)
|
|
77
|
-
- [CHROME\_PREV](FeatureConstructor.md#chrome_prev)
|
|
78
|
-
- [COMPACT](FeatureConstructor.md#compact)
|
|
79
|
-
- [CONSOLE](FeatureConstructor.md#console)
|
|
80
|
-
- [DEFAULT](FeatureConstructor.md#default)
|
|
81
|
-
- [DOCUMENT](FeatureConstructor.md#document)
|
|
82
|
-
- [DOMWINDOW](FeatureConstructor.md#domwindow)
|
|
83
|
-
- [ELEMENTARY](FeatureConstructor.md#elementary)
|
|
84
|
-
- [ESC\_HTML\_ALL](FeatureConstructor.md#esc_html_all)
|
|
85
|
-
- [ESC\_HTML\_QUOT](FeatureConstructor.md#esc_html_quot)
|
|
86
|
-
- [ESC\_HTML\_QUOT\_ONLY](FeatureConstructor.md#esc_html_quot_only)
|
|
87
|
-
- [ESC\_REGEXP\_LF](FeatureConstructor.md#esc_regexp_lf)
|
|
88
|
-
- [ESC\_REGEXP\_SLASH](FeatureConstructor.md#esc_regexp_slash)
|
|
89
|
-
- [FF](FeatureConstructor.md#ff)
|
|
90
|
-
- [FF\_90](FeatureConstructor.md#ff_90)
|
|
91
|
-
- [FF\_ESR](FeatureConstructor.md#ff_esr)
|
|
92
|
-
- [FF\_PREV](FeatureConstructor.md#ff_prev)
|
|
93
|
-
- [FF\_SRC](FeatureConstructor.md#ff_src)
|
|
94
|
-
- [FILL](FeatureConstructor.md#fill)
|
|
95
|
-
- [FLAT](FeatureConstructor.md#flat)
|
|
96
|
-
- [FROM\_CODE\_POINT](FeatureConstructor.md#from_code_point)
|
|
97
|
-
- [FUNCTION\_19\_LF](FeatureConstructor.md#function_19_lf)
|
|
98
|
-
- [FUNCTION\_22\_LF](FeatureConstructor.md#function_22_lf)
|
|
99
|
-
- [GENERIC\_ARRAY\_TO\_STRING](FeatureConstructor.md#generic_array_to_string)
|
|
100
|
-
- [GLOBAL\_UNDEFINED](FeatureConstructor.md#global_undefined)
|
|
101
|
-
- [GMT](FeatureConstructor.md#gmt)
|
|
102
|
-
- [HISTORY](FeatureConstructor.md#history)
|
|
103
|
-
- [HTMLAUDIOELEMENT](FeatureConstructor.md#htmlaudioelement)
|
|
104
|
-
- [HTMLDOCUMENT](FeatureConstructor.md#htmldocument)
|
|
105
|
-
- [IE\_10](FeatureConstructor.md#ie_10)
|
|
106
|
-
- [IE\_11](FeatureConstructor.md#ie_11)
|
|
107
|
-
- [IE\_11\_WIN\_10](FeatureConstructor.md#ie_11_win_10)
|
|
108
|
-
- [IE\_9](FeatureConstructor.md#ie_9)
|
|
109
|
-
- [IE\_SRC](FeatureConstructor.md#ie_src)
|
|
110
|
-
- [INCR\_CHAR](FeatureConstructor.md#incr_char)
|
|
111
|
-
- [INTL](FeatureConstructor.md#intl)
|
|
112
|
-
- [LOCALE\_INFINITY](FeatureConstructor.md#locale_infinity)
|
|
113
|
-
- [LOCALE\_NUMERALS](FeatureConstructor.md#locale_numerals)
|
|
114
|
-
- [LOCALE\_NUMERALS\_EXT](FeatureConstructor.md#locale_numerals_ext)
|
|
115
|
-
- [LOCATION](FeatureConstructor.md#location)
|
|
116
|
-
- [NAME](FeatureConstructor.md#name)
|
|
117
|
-
- [NODECONSTRUCTOR](FeatureConstructor.md#nodeconstructor)
|
|
118
|
-
- [NODE\_0\_10](FeatureConstructor.md#node_0_10)
|
|
119
|
-
- [NODE\_0\_12](FeatureConstructor.md#node_0_12)
|
|
120
|
-
- [NODE\_10](FeatureConstructor.md#node_10)
|
|
121
|
-
- [NODE\_11](FeatureConstructor.md#node_11)
|
|
122
|
-
- [NODE\_12](FeatureConstructor.md#node_12)
|
|
123
|
-
- [NODE\_13](FeatureConstructor.md#node_13)
|
|
124
|
-
- [NODE\_15](FeatureConstructor.md#node_15)
|
|
125
|
-
- [NODE\_16\_0](FeatureConstructor.md#node_16_0)
|
|
126
|
-
- [NODE\_16\_6](FeatureConstructor.md#node_16_6)
|
|
127
|
-
- [NODE\_22](FeatureConstructor.md#node_22)
|
|
128
|
-
- [NODE\_4](FeatureConstructor.md#node_4)
|
|
129
|
-
- [NODE\_5](FeatureConstructor.md#node_5)
|
|
130
|
-
- [NO\_FF\_SRC](FeatureConstructor.md#no_ff_src)
|
|
131
|
-
- [NO\_IE\_SRC](FeatureConstructor.md#no_ie_src)
|
|
132
|
-
- [NO\_OLD\_SAFARI\_ARRAY\_ITERATOR](FeatureConstructor.md#no_old_safari_array_iterator)
|
|
133
|
-
- [NO\_V8\_SRC](FeatureConstructor.md#no_v8_src)
|
|
134
|
-
- [OBJECT\_ARRAY\_ENTRIES\_CTOR](FeatureConstructor.md#object_array_entries_ctor)
|
|
135
|
-
- [OBJECT\_L\_LOCATION\_CTOR](FeatureConstructor.md#object_l_location_ctor)
|
|
136
|
-
- [OBJECT\_UNDEFINED](FeatureConstructor.md#object_undefined)
|
|
137
|
-
- [OBJECT\_W\_CTOR](FeatureConstructor.md#object_w_ctor)
|
|
138
|
-
- [OLD\_SAFARI\_LOCATION\_CTOR](FeatureConstructor.md#old_safari_location_ctor)
|
|
139
|
-
- [PLAIN\_INTL](FeatureConstructor.md#plain_intl)
|
|
140
|
-
- [REGEXP\_STRING\_ITERATOR](FeatureConstructor.md#regexp_string_iterator)
|
|
141
|
-
- [SAFARI](FeatureConstructor.md#safari)
|
|
142
|
-
- [SAFARI\_10](FeatureConstructor.md#safari_10)
|
|
143
|
-
- [SAFARI\_12](FeatureConstructor.md#safari_12)
|
|
144
|
-
- [SAFARI\_13](FeatureConstructor.md#safari_13)
|
|
145
|
-
- [SAFARI\_14\_0\_1](FeatureConstructor.md#safari_14_0_1)
|
|
146
|
-
- [SAFARI\_14\_1](FeatureConstructor.md#safari_14_1)
|
|
147
|
-
- [SAFARI\_15\_4](FeatureConstructor.md#safari_15_4)
|
|
148
|
-
- [SAFARI\_17\_4](FeatureConstructor.md#safari_17_4)
|
|
149
|
-
- [SAFARI\_7\_0](FeatureConstructor.md#safari_7_0)
|
|
150
|
-
- [SAFARI\_7\_1](FeatureConstructor.md#safari_7_1)
|
|
151
|
-
- [SAFARI\_9](FeatureConstructor.md#safari_9)
|
|
152
|
-
- [SELF](FeatureConstructor.md#self)
|
|
153
|
-
- [SELF\_OBJ](FeatureConstructor.md#self_obj)
|
|
154
|
-
- [SHORT\_LOCALES](FeatureConstructor.md#short_locales)
|
|
155
|
-
- [STATUS](FeatureConstructor.md#status)
|
|
156
|
-
- [UNDEFINED](FeatureConstructor.md#undefined)
|
|
157
|
-
- [V8\_SRC](FeatureConstructor.md#v8_src)
|
|
158
|
-
- [WINDOW](FeatureConstructor.md#window)
|
|
159
|
-
|
|
160
|
-
### Methods
|
|
161
|
-
|
|
162
|
-
- [areCompatible](FeatureConstructor.md#arecompatible)
|
|
163
|
-
- [areEqual](FeatureConstructor.md#areequal)
|
|
164
|
-
- [commonOf](FeatureConstructor.md#commonof)
|
|
165
|
-
- [descriptionFor](FeatureConstructor.md#descriptionfor)
|
|
166
|
-
|
|
167
49
|
## Constructors
|
|
168
50
|
|
|
169
|
-
###
|
|
51
|
+
### new FeatureConstructor()
|
|
170
52
|
|
|
171
|
-
|
|
53
|
+
> **new FeatureConstructor**(...`features`): [`CustomFeature`](CustomFeature.md)
|
|
172
54
|
|
|
173
55
|
Creates a new feature object from the union of the specified features.
|
|
174
56
|
|
|
@@ -179,15 +61,13 @@ If no arguments are specified, the new feature object will be equivalent to
|
|
|
179
61
|
|
|
180
62
|
#### Parameters
|
|
181
63
|
|
|
182
|
-
|
|
183
|
-
| :------ | :------ |
|
|
184
|
-
| `...features` | [`FeatureElementOrCompatibleArray`](../README.md#featureelementorcompatiblearray)[] |
|
|
64
|
+
• ...**features**: [`FeatureElementOrCompatibleArray`](../type-aliases/FeatureElementOrCompatibleArray.md)[]
|
|
185
65
|
|
|
186
66
|
#### Returns
|
|
187
67
|
|
|
188
68
|
[`CustomFeature`](CustomFeature.md)
|
|
189
69
|
|
|
190
|
-
|
|
70
|
+
#### Example
|
|
191
71
|
|
|
192
72
|
The following statements are equivalent, and will all construct a new feature object
|
|
193
73
|
including both [`ANY_DOCUMENT`](FeatureAll.md#any_document) and [`ANY_WINDOW`](FeatureConstructor.md#any_window).
|
|
@@ -204,23 +84,23 @@ JScrewIt.Feature(JScrewIt.Feature.ANY_DOCUMENT, JScrewIt.Feature.ANY_WINDOW);
|
|
|
204
84
|
JScrewIt.Feature([JScrewIt.Feature.ANY_DOCUMENT, JScrewIt.Feature.ANY_WINDOW]);
|
|
205
85
|
```
|
|
206
86
|
|
|
207
|
-
|
|
87
|
+
#### Throws
|
|
208
88
|
|
|
209
89
|
An error is thrown if any of the specified features are not mutually compatible.
|
|
210
90
|
|
|
211
91
|
#### Inherited from
|
|
212
92
|
|
|
213
|
-
FeatureAll.constructor
|
|
93
|
+
`FeatureAll.constructor`
|
|
214
94
|
|
|
215
95
|
## Properties
|
|
216
96
|
|
|
217
97
|
### ALL
|
|
218
98
|
|
|
219
|
-
|
|
99
|
+
> `readonly` **ALL**: [`FeatureAll`](FeatureAll.md)
|
|
220
100
|
|
|
221
101
|
An immutable mapping of all predefined feature objects accessed by name or alias.
|
|
222
102
|
|
|
223
|
-
|
|
103
|
+
#### Example
|
|
224
104
|
|
|
225
105
|
This will produce an array with the names and aliases of all predefined features.
|
|
226
106
|
|
|
@@ -234,171 +114,187 @@ This will determine if a particular feature object is predefined or not.
|
|
|
234
114
|
featureObj === JScrewIt.Feature.ALL[featureObj.name]
|
|
235
115
|
```
|
|
236
116
|
|
|
237
|
-
|
|
117
|
+
***
|
|
238
118
|
|
|
239
119
|
### ANDRO\_4\_0
|
|
240
120
|
|
|
241
|
-
|
|
121
|
+
> **ANDRO\_4\_0**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
242
122
|
|
|
243
123
|
Features available in Android Browser 4.0.
|
|
244
124
|
|
|
245
125
|
#### Inherited from
|
|
246
126
|
|
|
247
|
-
[FeatureAll](FeatureAll.md).[ANDRO_4_0](FeatureAll.md#andro_4_0)
|
|
127
|
+
[`FeatureAll`](FeatureAll.md).[`ANDRO_4_0`](FeatureAll.md#andro_4_0)
|
|
248
128
|
|
|
249
|
-
|
|
129
|
+
***
|
|
250
130
|
|
|
251
131
|
### ANDRO\_4\_1
|
|
252
132
|
|
|
253
|
-
|
|
133
|
+
> **ANDRO\_4\_1**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
254
134
|
|
|
255
135
|
Features available in Android Browser 4.1 to 4.3.
|
|
256
136
|
|
|
257
137
|
#### Inherited from
|
|
258
138
|
|
|
259
|
-
[FeatureAll](FeatureAll.md).[ANDRO_4_1](FeatureAll.md#andro_4_1)
|
|
139
|
+
[`FeatureAll`](FeatureAll.md).[`ANDRO_4_1`](FeatureAll.md#andro_4_1)
|
|
260
140
|
|
|
261
|
-
|
|
141
|
+
***
|
|
262
142
|
|
|
263
143
|
### ANDRO\_4\_4
|
|
264
144
|
|
|
265
|
-
|
|
145
|
+
> **ANDRO\_4\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
266
146
|
|
|
267
147
|
Features available in Android Browser 4.4.
|
|
268
148
|
|
|
269
149
|
#### Inherited from
|
|
270
150
|
|
|
271
|
-
[FeatureAll](FeatureAll.md).[ANDRO_4_4](FeatureAll.md#andro_4_4)
|
|
151
|
+
[`FeatureAll`](FeatureAll.md).[`ANDRO_4_4`](FeatureAll.md#andro_4_4)
|
|
272
152
|
|
|
273
|
-
|
|
153
|
+
***
|
|
274
154
|
|
|
275
155
|
### ANY\_DOCUMENT
|
|
276
156
|
|
|
277
|
-
|
|
157
|
+
> **ANY\_DOCUMENT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
278
158
|
|
|
279
159
|
Existence of the global object document whose string representation starts with "\[object " and ends with "Document\]".
|
|
280
160
|
|
|
281
|
-
|
|
161
|
+
#### Remarks
|
|
282
162
|
|
|
283
163
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers.
|
|
284
164
|
|
|
285
165
|
#### Inherited from
|
|
286
166
|
|
|
287
|
-
[FeatureAll](FeatureAll.md).[ANY_DOCUMENT](FeatureAll.md#any_document)
|
|
167
|
+
[`FeatureAll`](FeatureAll.md).[`ANY_DOCUMENT`](FeatureAll.md#any_document)
|
|
288
168
|
|
|
289
|
-
|
|
169
|
+
***
|
|
290
170
|
|
|
291
171
|
### ANY\_WINDOW
|
|
292
172
|
|
|
293
|
-
|
|
173
|
+
> **ANY\_WINDOW**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
294
174
|
|
|
295
175
|
Existence of the global object self whose string representation starts with "\[object " and ends with "Window\]".
|
|
296
176
|
|
|
297
|
-
|
|
177
|
+
#### Remarks
|
|
298
178
|
|
|
299
179
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers.
|
|
300
180
|
|
|
301
181
|
#### Inherited from
|
|
302
182
|
|
|
303
|
-
[FeatureAll](FeatureAll.md).[ANY_WINDOW](FeatureAll.md#any_window)
|
|
183
|
+
[`FeatureAll`](FeatureAll.md).[`ANY_WINDOW`](FeatureAll.md#any_window)
|
|
304
184
|
|
|
305
|
-
|
|
185
|
+
***
|
|
306
186
|
|
|
307
187
|
### ARRAY\_ITERATOR
|
|
308
188
|
|
|
309
|
-
|
|
189
|
+
> **ARRAY\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
310
190
|
|
|
311
191
|
The property that the string representation of Array.prototype.entries\(\) starts with "\[object Array" and ends with "\]" at index 21 or 22.
|
|
312
192
|
|
|
313
|
-
|
|
193
|
+
#### Remarks
|
|
314
194
|
|
|
315
195
|
Available in Chrome, Edge, Firefox, Safari 7.1+, Opera, and Node.js 0.12+.
|
|
316
196
|
|
|
317
197
|
#### Inherited from
|
|
318
198
|
|
|
319
|
-
[FeatureAll](FeatureAll.md).[ARRAY_ITERATOR](FeatureAll.md#array_iterator)
|
|
199
|
+
[`FeatureAll`](FeatureAll.md).[`ARRAY_ITERATOR`](FeatureAll.md#array_iterator)
|
|
320
200
|
|
|
321
|
-
|
|
201
|
+
***
|
|
322
202
|
|
|
323
203
|
### ARROW
|
|
324
204
|
|
|
325
|
-
|
|
205
|
+
> **ARROW**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
326
206
|
|
|
327
207
|
Support for arrow functions.
|
|
328
208
|
|
|
329
|
-
|
|
209
|
+
#### Remarks
|
|
210
|
+
|
|
211
|
+
Available in Chrome, Edge, Firefox, Safari 10.0+, Opera, and Node.js 4+.
|
|
212
|
+
|
|
213
|
+
#### Inherited from
|
|
214
|
+
|
|
215
|
+
[`FeatureAll`](FeatureAll.md).[`ARROW`](FeatureAll.md#arrow)
|
|
216
|
+
|
|
217
|
+
***
|
|
330
218
|
|
|
331
|
-
|
|
219
|
+
### ASYNC\_FUNCTION
|
|
220
|
+
|
|
221
|
+
> **ASYNC\_FUNCTION**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
222
|
+
|
|
223
|
+
Support for async functions, which return Promise object.
|
|
224
|
+
|
|
225
|
+
#### Remarks
|
|
226
|
+
|
|
227
|
+
Available in Chrome, Edge, Firefox, Safari 10.1+, Opera, and Node.js 7.6+.
|
|
332
228
|
|
|
333
229
|
#### Inherited from
|
|
334
230
|
|
|
335
|
-
[FeatureAll](FeatureAll.md).[
|
|
231
|
+
[`FeatureAll`](FeatureAll.md).[`ASYNC_FUNCTION`](FeatureAll.md#async_function)
|
|
336
232
|
|
|
337
|
-
|
|
233
|
+
***
|
|
338
234
|
|
|
339
235
|
### AT
|
|
340
236
|
|
|
341
|
-
|
|
237
|
+
> **AT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
342
238
|
|
|
343
239
|
Existence of the native function Array.prototype.at.
|
|
344
240
|
|
|
345
|
-
|
|
241
|
+
#### Remarks
|
|
346
242
|
|
|
347
243
|
Available in Chrome, Edge, Firefox, Safari 15.4+, Opera, and Node.js 16.6+.
|
|
348
244
|
|
|
349
245
|
#### Inherited from
|
|
350
246
|
|
|
351
|
-
[FeatureAll](FeatureAll.md).[AT](FeatureAll.md#at)
|
|
247
|
+
[`FeatureAll`](FeatureAll.md).[`AT`](FeatureAll.md#at)
|
|
352
248
|
|
|
353
|
-
|
|
249
|
+
***
|
|
354
250
|
|
|
355
251
|
### ATOB
|
|
356
252
|
|
|
357
|
-
|
|
253
|
+
> **ATOB**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
358
254
|
|
|
359
255
|
Existence of the global functions atob and btoa.
|
|
360
256
|
|
|
361
|
-
|
|
257
|
+
#### Remarks
|
|
362
258
|
|
|
363
|
-
Available in Chrome, Edge, Firefox, Internet Explorer 10+, Safari, Opera, Android Browser, and Node.js 16.0+. This feature is not available inside web workers in Safari before 10.
|
|
259
|
+
Available in Chrome, Edge, Firefox, Internet Explorer 10+, Safari, Opera, Android Browser, and Node.js 16.0+. This feature is not available inside web workers in Safari before 10.0.
|
|
364
260
|
|
|
365
261
|
#### Inherited from
|
|
366
262
|
|
|
367
|
-
[FeatureAll](FeatureAll.md).[ATOB](FeatureAll.md#atob)
|
|
263
|
+
[`FeatureAll`](FeatureAll.md).[`ATOB`](FeatureAll.md#atob)
|
|
368
264
|
|
|
369
|
-
|
|
265
|
+
***
|
|
370
266
|
|
|
371
267
|
### AUTO
|
|
372
268
|
|
|
373
|
-
|
|
269
|
+
> **AUTO**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
374
270
|
|
|
375
271
|
Features available in the current environment.
|
|
376
272
|
|
|
377
273
|
#### Inherited from
|
|
378
274
|
|
|
379
|
-
[FeatureAll](FeatureAll.md).[AUTO](FeatureAll.md#auto)
|
|
275
|
+
[`FeatureAll`](FeatureAll.md).[`AUTO`](FeatureAll.md#auto)
|
|
380
276
|
|
|
381
|
-
|
|
277
|
+
***
|
|
382
278
|
|
|
383
279
|
### BARPROP
|
|
384
280
|
|
|
385
|
-
|
|
281
|
+
> **BARPROP**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
386
282
|
|
|
387
283
|
Existence of the global object statusbar having the string representation "\[object BarProp\]".
|
|
388
284
|
|
|
389
|
-
|
|
285
|
+
#### Remarks
|
|
390
286
|
|
|
391
287
|
Available in Chrome, Edge, Firefox, Safari, Opera, and Android Browser 4.4. This feature is not available inside web workers.
|
|
392
288
|
|
|
393
289
|
#### Inherited from
|
|
394
290
|
|
|
395
|
-
[FeatureAll](FeatureAll.md).[BARPROP](FeatureAll.md#barprop)
|
|
291
|
+
[`FeatureAll`](FeatureAll.md).[`BARPROP`](FeatureAll.md#barprop)
|
|
396
292
|
|
|
397
|
-
|
|
293
|
+
***
|
|
398
294
|
|
|
399
295
|
### BROWSER
|
|
400
296
|
|
|
401
|
-
|
|
297
|
+
> **BROWSER**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
402
298
|
|
|
403
299
|
Features available in all browsers.
|
|
404
300
|
|
|
@@ -406,29 +302,45 @@ No support for Node.js.
|
|
|
406
302
|
|
|
407
303
|
#### Inherited from
|
|
408
304
|
|
|
409
|
-
[FeatureAll](FeatureAll.md).[BROWSER](FeatureAll.md#browser)
|
|
305
|
+
[`FeatureAll`](FeatureAll.md).[`BROWSER`](FeatureAll.md#browser)
|
|
306
|
+
|
|
307
|
+
***
|
|
308
|
+
|
|
309
|
+
### CALL\_ON\_GLOBAL
|
|
410
310
|
|
|
411
|
-
|
|
311
|
+
> **CALL\_ON\_GLOBAL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
312
|
+
|
|
313
|
+
The ability to call a function on the global object when invoking Function.prototype.call without binding.
|
|
314
|
+
|
|
315
|
+
#### Remarks
|
|
316
|
+
|
|
317
|
+
Available in Android Browser before 4.1.
|
|
318
|
+
|
|
319
|
+
#### Inherited from
|
|
320
|
+
|
|
321
|
+
[`FeatureAll`](FeatureAll.md).[`CALL_ON_GLOBAL`](FeatureAll.md#call_on_global)
|
|
322
|
+
|
|
323
|
+
***
|
|
412
324
|
|
|
413
325
|
### CAPITAL\_HTML
|
|
414
326
|
|
|
415
|
-
|
|
327
|
+
> **CAPITAL\_HTML**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
416
328
|
|
|
417
329
|
The property that the various string methods returning HTML code such as String.prototype.big or String.prototype.link have both the tag name and attributes written in capital letters.
|
|
418
330
|
|
|
419
|
-
|
|
331
|
+
#### Remarks
|
|
420
332
|
|
|
421
333
|
Available in Internet Explorer.
|
|
422
334
|
|
|
423
335
|
#### Inherited from
|
|
424
336
|
|
|
425
|
-
[FeatureAll](FeatureAll.md).[CAPITAL_HTML](FeatureAll.md#capital_html)
|
|
337
|
+
[`FeatureAll`](FeatureAll.md).[`CAPITAL_HTML`](FeatureAll.md#capital_html)
|
|
426
338
|
|
|
427
|
-
|
|
339
|
+
***
|
|
428
340
|
|
|
429
341
|
### CHROME
|
|
430
342
|
|
|
431
|
-
|
|
343
|
+
> **CHROME**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
432
344
|
|
|
433
345
|
Features available in the current stable versions of Chrome, Edge and Opera.
|
|
434
346
|
|
|
@@ -436,33 +348,33 @@ An alias for `CHROME_122`.
|
|
|
436
348
|
|
|
437
349
|
#### Inherited from
|
|
438
350
|
|
|
439
|
-
[FeatureAll](FeatureAll.md).[CHROME](FeatureAll.md#chrome)
|
|
351
|
+
[`FeatureAll`](FeatureAll.md).[`CHROME`](FeatureAll.md#chrome)
|
|
440
352
|
|
|
441
|
-
|
|
353
|
+
***
|
|
442
354
|
|
|
443
355
|
### CHROME\_122
|
|
444
356
|
|
|
445
|
-
|
|
357
|
+
> **CHROME\_122**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
446
358
|
|
|
447
359
|
Features available in Chrome 122, Edge 122 and Opera 108 or later.
|
|
448
360
|
|
|
449
|
-
|
|
361
|
+
#### Remarks
|
|
450
362
|
|
|
451
363
|
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `CHROME` or `CHROME_PREV` instead of `CHROME_122` for long term support.
|
|
452
364
|
|
|
453
|
-
|
|
365
|
+
#### See
|
|
454
366
|
|
|
455
367
|
[Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy)
|
|
456
368
|
|
|
457
369
|
#### Inherited from
|
|
458
370
|
|
|
459
|
-
[FeatureAll](FeatureAll.md).[CHROME_122](FeatureAll.md#chrome_122)
|
|
371
|
+
[`FeatureAll`](FeatureAll.md).[`CHROME_122`](FeatureAll.md#chrome_122)
|
|
460
372
|
|
|
461
|
-
|
|
373
|
+
***
|
|
462
374
|
|
|
463
375
|
### CHROME\_PREV
|
|
464
376
|
|
|
465
|
-
|
|
377
|
+
> **CHROME\_PREV**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
466
378
|
|
|
467
379
|
Features available in the previous to current versions of Chrome and Edge.
|
|
468
380
|
|
|
@@ -470,13 +382,13 @@ An alias for `CHROME_122`.
|
|
|
470
382
|
|
|
471
383
|
#### Inherited from
|
|
472
384
|
|
|
473
|
-
[FeatureAll](FeatureAll.md).[CHROME_PREV](FeatureAll.md#chrome_prev)
|
|
385
|
+
[`FeatureAll`](FeatureAll.md).[`CHROME_PREV`](FeatureAll.md#chrome_prev)
|
|
474
386
|
|
|
475
|
-
|
|
387
|
+
***
|
|
476
388
|
|
|
477
389
|
### COMPACT
|
|
478
390
|
|
|
479
|
-
|
|
391
|
+
> **COMPACT**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
480
392
|
|
|
481
393
|
All new browsers' features.
|
|
482
394
|
|
|
@@ -484,197 +396,217 @@ No support for Node.js and older browsers like Internet Explorer, Safari 17.3 or
|
|
|
484
396
|
|
|
485
397
|
#### Inherited from
|
|
486
398
|
|
|
487
|
-
[FeatureAll](FeatureAll.md).[COMPACT](FeatureAll.md#compact)
|
|
399
|
+
[`FeatureAll`](FeatureAll.md).[`COMPACT`](FeatureAll.md#compact)
|
|
488
400
|
|
|
489
|
-
|
|
401
|
+
***
|
|
490
402
|
|
|
491
403
|
### CONSOLE
|
|
492
404
|
|
|
493
|
-
|
|
405
|
+
> **CONSOLE**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
494
406
|
|
|
495
407
|
Existence of the global object console having the string representation "\[object Console\]".
|
|
496
408
|
|
|
497
409
|
This feature may become unavailable when certain browser extensions are active.
|
|
498
410
|
|
|
499
|
-
|
|
411
|
+
#### Remarks
|
|
500
412
|
|
|
501
413
|
Available in Internet Explorer 10+, Safari before 14.1, and Android Browser. This feature is not available inside web workers in Safari before 7.1 and Android Browser 4.4.
|
|
502
414
|
|
|
503
415
|
#### Inherited from
|
|
504
416
|
|
|
505
|
-
[FeatureAll](FeatureAll.md).[CONSOLE](FeatureAll.md#console)
|
|
417
|
+
[`FeatureAll`](FeatureAll.md).[`CONSOLE`](FeatureAll.md#console)
|
|
506
418
|
|
|
507
|
-
|
|
419
|
+
***
|
|
508
420
|
|
|
509
421
|
### DEFAULT
|
|
510
422
|
|
|
511
|
-
|
|
423
|
+
> **DEFAULT**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
512
424
|
|
|
513
425
|
Minimum feature level, compatible with all supported engines in all environments.
|
|
514
426
|
|
|
515
427
|
#### Inherited from
|
|
516
428
|
|
|
517
|
-
[FeatureAll](FeatureAll.md).[DEFAULT](FeatureAll.md#default)
|
|
429
|
+
[`FeatureAll`](FeatureAll.md).[`DEFAULT`](FeatureAll.md#default)
|
|
518
430
|
|
|
519
|
-
|
|
431
|
+
***
|
|
520
432
|
|
|
521
433
|
### DOCUMENT
|
|
522
434
|
|
|
523
|
-
|
|
435
|
+
> **DOCUMENT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
524
436
|
|
|
525
437
|
Existence of the global object document having the string representation "\[object Document\]".
|
|
526
438
|
|
|
527
|
-
|
|
439
|
+
#### Remarks
|
|
528
440
|
|
|
529
441
|
Available in Internet Explorer before 11. This feature is not available inside web workers.
|
|
530
442
|
|
|
531
443
|
#### Inherited from
|
|
532
444
|
|
|
533
|
-
[FeatureAll](FeatureAll.md).[DOCUMENT](FeatureAll.md#document)
|
|
445
|
+
[`FeatureAll`](FeatureAll.md).[`DOCUMENT`](FeatureAll.md#document)
|
|
534
446
|
|
|
535
|
-
|
|
447
|
+
***
|
|
536
448
|
|
|
537
449
|
### DOMWINDOW
|
|
538
450
|
|
|
539
|
-
|
|
451
|
+
> **DOMWINDOW**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
540
452
|
|
|
541
453
|
Existence of the global object self having the string representation "\[object DOMWindow\]".
|
|
542
454
|
|
|
543
|
-
|
|
455
|
+
#### Remarks
|
|
544
456
|
|
|
545
457
|
Available in Android Browser before 4.4. This feature is not available inside web workers.
|
|
546
458
|
|
|
547
459
|
#### Inherited from
|
|
548
460
|
|
|
549
|
-
[FeatureAll](FeatureAll.md).[DOMWINDOW](FeatureAll.md#domwindow)
|
|
461
|
+
[`FeatureAll`](FeatureAll.md).[`DOMWINDOW`](FeatureAll.md#domwindow)
|
|
550
462
|
|
|
551
|
-
|
|
463
|
+
***
|
|
552
464
|
|
|
553
465
|
### ELEMENTARY
|
|
554
466
|
|
|
555
|
-
|
|
467
|
+
> `readonly` **ELEMENTARY**: readonly [`ElementaryFeature`](ElementaryFeature.md)[]
|
|
556
468
|
|
|
557
469
|
An immutable array of all elementary feature objects ordered by name.
|
|
558
470
|
|
|
559
|
-
|
|
471
|
+
***
|
|
560
472
|
|
|
561
473
|
### ESC\_HTML\_ALL
|
|
562
474
|
|
|
563
|
-
|
|
475
|
+
> **ESC\_HTML\_ALL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
564
476
|
|
|
565
477
|
The property that double quotation mark, less than and greater than characters in the argument of String.prototype.fontcolor are escaped into their respective HTML entities.
|
|
566
478
|
|
|
567
|
-
|
|
479
|
+
#### Remarks
|
|
568
480
|
|
|
569
481
|
Available in Android Browser and Node.js before 0.12.
|
|
570
482
|
|
|
571
483
|
#### Inherited from
|
|
572
484
|
|
|
573
|
-
[FeatureAll](FeatureAll.md).[ESC_HTML_ALL](FeatureAll.md#esc_html_all)
|
|
485
|
+
[`FeatureAll`](FeatureAll.md).[`ESC_HTML_ALL`](FeatureAll.md#esc_html_all)
|
|
574
486
|
|
|
575
|
-
|
|
487
|
+
***
|
|
576
488
|
|
|
577
489
|
### ESC\_HTML\_QUOT
|
|
578
490
|
|
|
579
|
-
|
|
491
|
+
> **ESC\_HTML\_QUOT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
580
492
|
|
|
581
493
|
The property that double quotation marks in the argument of String.prototype.fontcolor are escaped as "\"".
|
|
582
494
|
|
|
583
|
-
|
|
495
|
+
#### Remarks
|
|
584
496
|
|
|
585
497
|
Available in Chrome, Edge, Firefox, Safari, Opera, Android Browser, and Node.js.
|
|
586
498
|
|
|
587
499
|
#### Inherited from
|
|
588
500
|
|
|
589
|
-
[FeatureAll](FeatureAll.md).[ESC_HTML_QUOT](FeatureAll.md#esc_html_quot)
|
|
501
|
+
[`FeatureAll`](FeatureAll.md).[`ESC_HTML_QUOT`](FeatureAll.md#esc_html_quot)
|
|
590
502
|
|
|
591
|
-
|
|
503
|
+
***
|
|
592
504
|
|
|
593
505
|
### ESC\_HTML\_QUOT\_ONLY
|
|
594
506
|
|
|
595
|
-
|
|
507
|
+
> **ESC\_HTML\_QUOT\_ONLY**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
596
508
|
|
|
597
509
|
The property that only double quotation marks and no other characters in the argument of String.prototype.fontcolor are escaped into HTML entities.
|
|
598
510
|
|
|
599
|
-
|
|
511
|
+
#### Remarks
|
|
600
512
|
|
|
601
513
|
Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js 0.12+.
|
|
602
514
|
|
|
603
515
|
#### Inherited from
|
|
604
516
|
|
|
605
|
-
[FeatureAll](FeatureAll.md).[ESC_HTML_QUOT_ONLY](FeatureAll.md#esc_html_quot_only)
|
|
517
|
+
[`FeatureAll`](FeatureAll.md).[`ESC_HTML_QUOT_ONLY`](FeatureAll.md#esc_html_quot_only)
|
|
606
518
|
|
|
607
|
-
|
|
519
|
+
***
|
|
608
520
|
|
|
609
521
|
### ESC\_REGEXP\_LF
|
|
610
522
|
|
|
611
|
-
|
|
523
|
+
> **ESC\_REGEXP\_LF**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
612
524
|
|
|
613
525
|
Having regular expressions created with the RegExp constructor use escape sequences starting with a backslash to format line feed characters \("\\n"\) in their string representation.
|
|
614
526
|
|
|
615
|
-
|
|
527
|
+
#### Remarks
|
|
616
528
|
|
|
617
529
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Node.js 12+.
|
|
618
530
|
|
|
619
531
|
#### Inherited from
|
|
620
532
|
|
|
621
|
-
[FeatureAll](FeatureAll.md).[ESC_REGEXP_LF](FeatureAll.md#esc_regexp_lf)
|
|
533
|
+
[`FeatureAll`](FeatureAll.md).[`ESC_REGEXP_LF`](FeatureAll.md#esc_regexp_lf)
|
|
622
534
|
|
|
623
|
-
|
|
535
|
+
***
|
|
624
536
|
|
|
625
537
|
### ESC\_REGEXP\_SLASH
|
|
626
538
|
|
|
627
|
-
|
|
539
|
+
> **ESC\_REGEXP\_SLASH**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
628
540
|
|
|
629
541
|
Having regular expressions created with the RegExp constructor use escape sequences starting with a backslash to format slashes \("/"\) in their string representation.
|
|
630
542
|
|
|
631
|
-
|
|
543
|
+
#### Remarks
|
|
632
544
|
|
|
633
545
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Node.js 4+.
|
|
634
546
|
|
|
635
547
|
#### Inherited from
|
|
636
548
|
|
|
637
|
-
[FeatureAll](FeatureAll.md).[ESC_REGEXP_SLASH](FeatureAll.md#esc_regexp_slash)
|
|
549
|
+
[`FeatureAll`](FeatureAll.md).[`ESC_REGEXP_SLASH`](FeatureAll.md#esc_regexp_slash)
|
|
638
550
|
|
|
639
|
-
|
|
551
|
+
***
|
|
640
552
|
|
|
641
553
|
### FF
|
|
642
554
|
|
|
643
|
-
|
|
555
|
+
> **FF**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
644
556
|
|
|
645
557
|
Features available in the current stable version of Firefox.
|
|
646
558
|
|
|
647
|
-
An alias for `
|
|
559
|
+
An alias for `FF_131`.
|
|
648
560
|
|
|
649
561
|
#### Inherited from
|
|
650
562
|
|
|
651
|
-
[FeatureAll](FeatureAll.md).[FF](FeatureAll.md#ff)
|
|
563
|
+
[`FeatureAll`](FeatureAll.md).[`FF`](FeatureAll.md#ff)
|
|
564
|
+
|
|
565
|
+
***
|
|
566
|
+
|
|
567
|
+
### FF\_131
|
|
568
|
+
|
|
569
|
+
> **FF\_131**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
652
570
|
|
|
653
|
-
|
|
571
|
+
Features available in Firefox 131 or later.
|
|
572
|
+
|
|
573
|
+
#### Remarks
|
|
574
|
+
|
|
575
|
+
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF` instead of `FF_131` for long term support.
|
|
576
|
+
|
|
577
|
+
#### See
|
|
578
|
+
|
|
579
|
+
[Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy)
|
|
580
|
+
|
|
581
|
+
#### Inherited from
|
|
582
|
+
|
|
583
|
+
[`FeatureAll`](FeatureAll.md).[`FF_131`](FeatureAll.md#ff_131)
|
|
584
|
+
|
|
585
|
+
***
|
|
654
586
|
|
|
655
587
|
### FF\_90
|
|
656
588
|
|
|
657
|
-
|
|
589
|
+
> **FF\_90**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
658
590
|
|
|
659
|
-
Features available in Firefox 90
|
|
591
|
+
Features available in Firefox 90 to 130.
|
|
660
592
|
|
|
661
|
-
|
|
593
|
+
#### Remarks
|
|
662
594
|
|
|
663
|
-
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `
|
|
595
|
+
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF_ESR` or `FF_PREV` instead of `FF_90` for long term support.
|
|
664
596
|
|
|
665
|
-
|
|
597
|
+
#### See
|
|
666
598
|
|
|
667
599
|
[Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy)
|
|
668
600
|
|
|
669
601
|
#### Inherited from
|
|
670
602
|
|
|
671
|
-
[FeatureAll](FeatureAll.md).[FF_90](FeatureAll.md#ff_90)
|
|
603
|
+
[`FeatureAll`](FeatureAll.md).[`FF_90`](FeatureAll.md#ff_90)
|
|
672
604
|
|
|
673
|
-
|
|
605
|
+
***
|
|
674
606
|
|
|
675
607
|
### FF\_ESR
|
|
676
608
|
|
|
677
|
-
|
|
609
|
+
> **FF\_ESR**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
678
610
|
|
|
679
611
|
Features available in the current version of Firefox ESR.
|
|
680
612
|
|
|
@@ -682,13 +614,13 @@ An alias for `FF_90`.
|
|
|
682
614
|
|
|
683
615
|
#### Inherited from
|
|
684
616
|
|
|
685
|
-
[FeatureAll](FeatureAll.md).[FF_ESR](FeatureAll.md#ff_esr)
|
|
617
|
+
[`FeatureAll`](FeatureAll.md).[`FF_ESR`](FeatureAll.md#ff_esr)
|
|
686
618
|
|
|
687
|
-
|
|
619
|
+
***
|
|
688
620
|
|
|
689
621
|
### FF\_PREV
|
|
690
622
|
|
|
691
|
-
|
|
623
|
+
> **FF\_PREV**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
692
624
|
|
|
693
625
|
Features available in the previous to current version of Firefox.
|
|
694
626
|
|
|
@@ -696,983 +628,1049 @@ An alias for `FF_90`.
|
|
|
696
628
|
|
|
697
629
|
#### Inherited from
|
|
698
630
|
|
|
699
|
-
[FeatureAll](FeatureAll.md).[FF_PREV](FeatureAll.md#ff_prev)
|
|
631
|
+
[`FeatureAll`](FeatureAll.md).[`FF_PREV`](FeatureAll.md#ff_prev)
|
|
700
632
|
|
|
701
|
-
|
|
633
|
+
***
|
|
702
634
|
|
|
703
635
|
### FF\_SRC
|
|
704
636
|
|
|
705
|
-
|
|
637
|
+
> **FF\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
706
638
|
|
|
707
639
|
A string representation of native functions typical for Firefox and Safari.
|
|
708
640
|
|
|
709
641
|
Remarkable traits are the lack of line feed characters at the beginning and at the end of the string and the presence of a line feed followed by four whitespaces \("\\n "\) before the "\[native code\]" sequence.
|
|
710
642
|
|
|
711
|
-
|
|
643
|
+
#### Remarks
|
|
712
644
|
|
|
713
645
|
Available in Firefox and Safari.
|
|
714
646
|
|
|
715
647
|
#### Inherited from
|
|
716
648
|
|
|
717
|
-
[FeatureAll](FeatureAll.md).[FF_SRC](FeatureAll.md#ff_src)
|
|
649
|
+
[`FeatureAll`](FeatureAll.md).[`FF_SRC`](FeatureAll.md#ff_src)
|
|
718
650
|
|
|
719
|
-
|
|
651
|
+
***
|
|
720
652
|
|
|
721
653
|
### FILL
|
|
722
654
|
|
|
723
|
-
|
|
655
|
+
> **FILL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
724
656
|
|
|
725
657
|
Existence of the native function Array.prototype.fill.
|
|
726
658
|
|
|
727
|
-
|
|
659
|
+
#### Remarks
|
|
728
660
|
|
|
729
661
|
Available in Chrome, Edge, Firefox, Safari 7.1+, Opera, and Node.js 4+.
|
|
730
662
|
|
|
731
663
|
#### Inherited from
|
|
732
664
|
|
|
733
|
-
[FeatureAll](FeatureAll.md).[FILL](FeatureAll.md#fill)
|
|
665
|
+
[`FeatureAll`](FeatureAll.md).[`FILL`](FeatureAll.md#fill)
|
|
734
666
|
|
|
735
|
-
|
|
667
|
+
***
|
|
736
668
|
|
|
737
669
|
### FLAT
|
|
738
670
|
|
|
739
|
-
|
|
671
|
+
> **FLAT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
740
672
|
|
|
741
673
|
Existence of the native function Array.prototype.flat.
|
|
742
674
|
|
|
743
|
-
|
|
675
|
+
#### Remarks
|
|
744
676
|
|
|
745
677
|
Available in Chrome, Edge, Firefox, Safari 12+, Opera, and Node.js 11+.
|
|
746
678
|
|
|
747
679
|
#### Inherited from
|
|
748
680
|
|
|
749
|
-
[FeatureAll](FeatureAll.md).[FLAT](FeatureAll.md#flat)
|
|
681
|
+
[`FeatureAll`](FeatureAll.md).[`FLAT`](FeatureAll.md#flat)
|
|
750
682
|
|
|
751
|
-
|
|
683
|
+
***
|
|
752
684
|
|
|
753
685
|
### FROM\_CODE\_POINT
|
|
754
686
|
|
|
755
|
-
|
|
687
|
+
> **FROM\_CODE\_POINT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
756
688
|
|
|
757
689
|
Existence of the function String.fromCodePoint.
|
|
758
690
|
|
|
759
|
-
|
|
691
|
+
#### Remarks
|
|
760
692
|
|
|
761
693
|
Available in Chrome, Edge, Firefox, Safari 9+, Opera, and Node.js 4+.
|
|
762
694
|
|
|
763
695
|
#### Inherited from
|
|
764
696
|
|
|
765
|
-
[FeatureAll](FeatureAll.md).[FROM_CODE_POINT](FeatureAll.md#from_code_point)
|
|
697
|
+
[`FeatureAll`](FeatureAll.md).[`FROM_CODE_POINT`](FeatureAll.md#from_code_point)
|
|
766
698
|
|
|
767
|
-
|
|
699
|
+
***
|
|
768
700
|
|
|
769
701
|
### FUNCTION\_19\_LF
|
|
770
702
|
|
|
771
|
-
|
|
703
|
+
> **FUNCTION\_19\_LF**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
772
704
|
|
|
773
705
|
A string representation of dynamically generated functions where the character at index 19 is a line feed \("\\n"\).
|
|
774
706
|
|
|
775
|
-
|
|
707
|
+
#### Remarks
|
|
776
708
|
|
|
777
709
|
Available in Chrome, Edge, Firefox, Safari 17.4+, Opera, and Node.js 10+.
|
|
778
710
|
|
|
779
711
|
#### Inherited from
|
|
780
712
|
|
|
781
|
-
[FeatureAll](FeatureAll.md).[FUNCTION_19_LF](FeatureAll.md#function_19_lf)
|
|
713
|
+
[`FeatureAll`](FeatureAll.md).[`FUNCTION_19_LF`](FeatureAll.md#function_19_lf)
|
|
782
714
|
|
|
783
|
-
|
|
715
|
+
***
|
|
784
716
|
|
|
785
717
|
### FUNCTION\_22\_LF
|
|
786
718
|
|
|
787
|
-
|
|
719
|
+
> **FUNCTION\_22\_LF**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
788
720
|
|
|
789
721
|
A string representation of dynamically generated functions where the character at index 22 is a line feed \("\\n"\).
|
|
790
722
|
|
|
791
|
-
|
|
723
|
+
#### Remarks
|
|
792
724
|
|
|
793
725
|
Available in Internet Explorer, Safari 9+ before 17.4, Android Browser, and Node.js before 10.
|
|
794
726
|
|
|
795
727
|
#### Inherited from
|
|
796
728
|
|
|
797
|
-
[FeatureAll](FeatureAll.md).[FUNCTION_22_LF](FeatureAll.md#function_22_lf)
|
|
729
|
+
[`FeatureAll`](FeatureAll.md).[`FUNCTION_22_LF`](FeatureAll.md#function_22_lf)
|
|
798
730
|
|
|
799
|
-
|
|
731
|
+
***
|
|
800
732
|
|
|
801
733
|
### GENERIC\_ARRAY\_TO\_STRING
|
|
802
734
|
|
|
803
|
-
|
|
735
|
+
> **GENERIC\_ARRAY\_TO\_STRING**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
804
736
|
|
|
805
737
|
Ability to call Array.prototype.toString with a non-array binding.
|
|
806
738
|
|
|
807
|
-
|
|
739
|
+
#### Remarks
|
|
808
740
|
|
|
809
741
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, Android Browser 4.1+, and Node.js.
|
|
810
742
|
|
|
811
743
|
#### Inherited from
|
|
812
744
|
|
|
813
|
-
[FeatureAll](FeatureAll.md).[GENERIC_ARRAY_TO_STRING](FeatureAll.md#generic_array_to_string)
|
|
745
|
+
[`FeatureAll`](FeatureAll.md).[`GENERIC_ARRAY_TO_STRING`](FeatureAll.md#generic_array_to_string)
|
|
814
746
|
|
|
815
|
-
|
|
747
|
+
***
|
|
816
748
|
|
|
817
749
|
### GLOBAL\_UNDEFINED
|
|
818
750
|
|
|
819
|
-
|
|
751
|
+
> **GLOBAL\_UNDEFINED**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
820
752
|
|
|
821
753
|
Having the global function toString return the string "\[object Undefined\]" when invoked without a binding.
|
|
822
754
|
|
|
823
|
-
|
|
755
|
+
#### Remarks
|
|
824
756
|
|
|
825
757
|
Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js.
|
|
826
758
|
|
|
827
759
|
#### Inherited from
|
|
828
760
|
|
|
829
|
-
[FeatureAll](FeatureAll.md).[GLOBAL_UNDEFINED](FeatureAll.md#global_undefined)
|
|
761
|
+
[`FeatureAll`](FeatureAll.md).[`GLOBAL_UNDEFINED`](FeatureAll.md#global_undefined)
|
|
830
762
|
|
|
831
|
-
|
|
763
|
+
***
|
|
832
764
|
|
|
833
765
|
### GMT
|
|
834
766
|
|
|
835
|
-
|
|
767
|
+
> **GMT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
836
768
|
|
|
837
769
|
Presence of the text "GMT" after the first 25 characters in the string returned by Date\(\).
|
|
838
770
|
|
|
839
771
|
The string representation of dates is implementation dependent, but most engines use a similar format, making this feature available in all supported engines except Internet Explorer 9 and 10.
|
|
840
772
|
|
|
841
|
-
|
|
773
|
+
#### Remarks
|
|
842
774
|
|
|
843
775
|
Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari, Opera, Android Browser, and Node.js.
|
|
844
776
|
|
|
845
777
|
#### Inherited from
|
|
846
778
|
|
|
847
|
-
[FeatureAll](FeatureAll.md).[GMT](FeatureAll.md#gmt)
|
|
779
|
+
[`FeatureAll`](FeatureAll.md).[`GMT`](FeatureAll.md#gmt)
|
|
848
780
|
|
|
849
|
-
|
|
781
|
+
***
|
|
850
782
|
|
|
851
783
|
### HISTORY
|
|
852
784
|
|
|
853
|
-
|
|
785
|
+
> **HISTORY**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
854
786
|
|
|
855
787
|
Existence of the global object history having the string representation "\[object History\]".
|
|
856
788
|
|
|
857
|
-
|
|
789
|
+
#### Remarks
|
|
858
790
|
|
|
859
791
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers.
|
|
860
792
|
|
|
861
793
|
#### Inherited from
|
|
862
794
|
|
|
863
|
-
[FeatureAll](FeatureAll.md).[HISTORY](FeatureAll.md#history)
|
|
795
|
+
[`FeatureAll`](FeatureAll.md).[`HISTORY`](FeatureAll.md#history)
|
|
864
796
|
|
|
865
|
-
|
|
797
|
+
***
|
|
866
798
|
|
|
867
799
|
### HTMLAUDIOELEMENT
|
|
868
800
|
|
|
869
|
-
|
|
801
|
+
> **HTMLAUDIOELEMENT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
870
802
|
|
|
871
803
|
Existence of the global object Audio whose string representation starts with "function HTMLAudioElement".
|
|
872
804
|
|
|
873
|
-
|
|
805
|
+
#### Remarks
|
|
874
806
|
|
|
875
807
|
Available in Android Browser 4.4. This feature is not available inside web workers.
|
|
876
808
|
|
|
877
809
|
#### Inherited from
|
|
878
810
|
|
|
879
|
-
[FeatureAll](FeatureAll.md).[HTMLAUDIOELEMENT](FeatureAll.md#htmlaudioelement)
|
|
880
|
-
|
|
881
|
-
___
|
|
882
|
-
|
|
883
|
-
### HTMLDOCUMENT
|
|
884
|
-
|
|
885
|
-
• **HTMLDOCUMENT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
886
|
-
|
|
887
|
-
Existence of the global object document having the string representation "\[object HTMLDocument\]".
|
|
888
|
-
|
|
889
|
-
**`Remarks`**
|
|
890
|
-
|
|
891
|
-
Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari, Opera, and Android Browser. This feature is not available inside web workers.
|
|
892
|
-
|
|
893
|
-
#### Inherited from
|
|
894
|
-
|
|
895
|
-
[FeatureAll](FeatureAll.md).[HTMLDOCUMENT](FeatureAll.md#htmldocument)
|
|
811
|
+
[`FeatureAll`](FeatureAll.md).[`HTMLAUDIOELEMENT`](FeatureAll.md#htmlaudioelement)
|
|
896
812
|
|
|
897
|
-
|
|
813
|
+
***
|
|
898
814
|
|
|
899
815
|
### IE\_10
|
|
900
816
|
|
|
901
|
-
|
|
817
|
+
> **IE\_10**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
902
818
|
|
|
903
819
|
Features available in Internet Explorer 10.
|
|
904
820
|
|
|
905
821
|
#### Inherited from
|
|
906
822
|
|
|
907
|
-
[FeatureAll](FeatureAll.md).[IE_10](FeatureAll.md#ie_10)
|
|
823
|
+
[`FeatureAll`](FeatureAll.md).[`IE_10`](FeatureAll.md#ie_10)
|
|
908
824
|
|
|
909
|
-
|
|
825
|
+
***
|
|
910
826
|
|
|
911
827
|
### IE\_11
|
|
912
828
|
|
|
913
|
-
|
|
829
|
+
> **IE\_11**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
914
830
|
|
|
915
831
|
Features available in Internet Explorer 11.
|
|
916
832
|
|
|
917
833
|
#### Inherited from
|
|
918
834
|
|
|
919
|
-
[FeatureAll](FeatureAll.md).[IE_11](FeatureAll.md#ie_11)
|
|
835
|
+
[`FeatureAll`](FeatureAll.md).[`IE_11`](FeatureAll.md#ie_11)
|
|
920
836
|
|
|
921
|
-
|
|
837
|
+
***
|
|
922
838
|
|
|
923
839
|
### IE\_11\_WIN\_10
|
|
924
840
|
|
|
925
|
-
|
|
841
|
+
> **IE\_11\_WIN\_10**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
926
842
|
|
|
927
843
|
Features available in Internet Explorer 11 on Windows 10.
|
|
928
844
|
|
|
929
845
|
#### Inherited from
|
|
930
846
|
|
|
931
|
-
[FeatureAll](FeatureAll.md).[IE_11_WIN_10](FeatureAll.md#ie_11_win_10)
|
|
847
|
+
[`FeatureAll`](FeatureAll.md).[`IE_11_WIN_10`](FeatureAll.md#ie_11_win_10)
|
|
932
848
|
|
|
933
|
-
|
|
849
|
+
***
|
|
934
850
|
|
|
935
851
|
### IE\_9
|
|
936
852
|
|
|
937
|
-
|
|
853
|
+
> **IE\_9**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
938
854
|
|
|
939
855
|
Features available in Internet Explorer 9.
|
|
940
856
|
|
|
941
857
|
#### Inherited from
|
|
942
858
|
|
|
943
|
-
[FeatureAll](FeatureAll.md).[IE_9](FeatureAll.md#ie_9)
|
|
859
|
+
[`FeatureAll`](FeatureAll.md).[`IE_9`](FeatureAll.md#ie_9)
|
|
944
860
|
|
|
945
|
-
|
|
861
|
+
***
|
|
946
862
|
|
|
947
863
|
### IE\_SRC
|
|
948
864
|
|
|
949
|
-
|
|
865
|
+
> **IE\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
950
866
|
|
|
951
867
|
A string representation of native functions typical for Internet Explorer.
|
|
952
868
|
|
|
953
869
|
Remarkable traits are the presence of a line feed character \("\\n"\) at the beginning and at the end of the string and a line feed followed by four whitespaces \("\\n "\) before the "\[native code\]" sequence.
|
|
954
870
|
|
|
955
|
-
|
|
871
|
+
#### Remarks
|
|
956
872
|
|
|
957
873
|
Available in Internet Explorer.
|
|
958
874
|
|
|
959
875
|
#### Inherited from
|
|
960
876
|
|
|
961
|
-
[FeatureAll](FeatureAll.md).[IE_SRC](FeatureAll.md#ie_src)
|
|
877
|
+
[`FeatureAll`](FeatureAll.md).[`IE_SRC`](FeatureAll.md#ie_src)
|
|
962
878
|
|
|
963
|
-
|
|
879
|
+
***
|
|
964
880
|
|
|
965
881
|
### INCR\_CHAR
|
|
966
882
|
|
|
967
|
-
|
|
883
|
+
> **INCR\_CHAR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
968
884
|
|
|
969
885
|
The ability to use unary increment operators with string characters, like in \( ++"some string"\[0\] \): this will result in a TypeError in strict mode in ECMAScript compliant engines.
|
|
970
886
|
|
|
971
|
-
|
|
887
|
+
#### Remarks
|
|
972
888
|
|
|
973
889
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, Android Browser, and Node.js. This feature is not available when strict mode is enforced in Chrome, Edge, Firefox, Internet Explorer 10+, Safari, Opera, and Node.js 5+.
|
|
974
890
|
|
|
975
891
|
#### Inherited from
|
|
976
892
|
|
|
977
|
-
[FeatureAll](FeatureAll.md).[INCR_CHAR](FeatureAll.md#incr_char)
|
|
893
|
+
[`FeatureAll`](FeatureAll.md).[`INCR_CHAR`](FeatureAll.md#incr_char)
|
|
978
894
|
|
|
979
|
-
|
|
895
|
+
***
|
|
980
896
|
|
|
981
897
|
### INTL
|
|
982
898
|
|
|
983
|
-
|
|
899
|
+
> **INTL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
984
900
|
|
|
985
901
|
Existence of the global object Intl.
|
|
986
902
|
|
|
987
|
-
|
|
903
|
+
#### Remarks
|
|
904
|
+
|
|
905
|
+
Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 0.12+.
|
|
906
|
+
|
|
907
|
+
#### Inherited from
|
|
908
|
+
|
|
909
|
+
[`FeatureAll`](FeatureAll.md).[`INTL`](FeatureAll.md#intl)
|
|
910
|
+
|
|
911
|
+
***
|
|
912
|
+
|
|
913
|
+
### ITERATOR\_HELPER
|
|
914
|
+
|
|
915
|
+
> **ITERATOR\_HELPER**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
916
|
+
|
|
917
|
+
Availability of iterator helpers.
|
|
988
918
|
|
|
989
|
-
|
|
919
|
+
#### Remarks
|
|
920
|
+
|
|
921
|
+
Available in Chrome, Edge, Firefox 131+, Opera, and Node.js 22+.
|
|
990
922
|
|
|
991
923
|
#### Inherited from
|
|
992
924
|
|
|
993
|
-
[FeatureAll](FeatureAll.md).[
|
|
925
|
+
[`FeatureAll`](FeatureAll.md).[`ITERATOR_HELPER`](FeatureAll.md#iterator_helper)
|
|
926
|
+
|
|
927
|
+
***
|
|
928
|
+
|
|
929
|
+
### JAPANESE\_INFINITY
|
|
930
|
+
|
|
931
|
+
> **JAPANESE\_INFINITY**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
932
|
+
|
|
933
|
+
Japanese string representation of Infinity ending with "∞".
|
|
934
|
+
|
|
935
|
+
#### Remarks
|
|
994
936
|
|
|
995
|
-
|
|
937
|
+
Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 0.12+.
|
|
938
|
+
|
|
939
|
+
#### Inherited from
|
|
940
|
+
|
|
941
|
+
[`FeatureAll`](FeatureAll.md).[`JAPANESE_INFINITY`](FeatureAll.md#japanese_infinity)
|
|
942
|
+
|
|
943
|
+
***
|
|
996
944
|
|
|
997
945
|
### LOCALE\_INFINITY
|
|
998
946
|
|
|
999
|
-
|
|
947
|
+
> **LOCALE\_INFINITY**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1000
948
|
|
|
1001
949
|
Language sensitive string representation of Infinity as "∞".
|
|
1002
950
|
|
|
1003
|
-
|
|
951
|
+
#### Remarks
|
|
1004
952
|
|
|
1005
|
-
Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10+, Opera, Android Browser 4.4, and Node.js 0.12+.
|
|
953
|
+
Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 0.12+.
|
|
1006
954
|
|
|
1007
955
|
#### Inherited from
|
|
1008
956
|
|
|
1009
|
-
[FeatureAll](FeatureAll.md).[LOCALE_INFINITY](FeatureAll.md#locale_infinity)
|
|
957
|
+
[`FeatureAll`](FeatureAll.md).[`LOCALE_INFINITY`](FeatureAll.md#locale_infinity)
|
|
1010
958
|
|
|
1011
|
-
|
|
959
|
+
***
|
|
1012
960
|
|
|
1013
961
|
### LOCALE\_NUMERALS
|
|
1014
962
|
|
|
1015
|
-
|
|
963
|
+
> **LOCALE\_NUMERALS**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1016
964
|
|
|
1017
965
|
Features shared by all engines capable of localized number formatting, including output of Arabic digits, the Arabic decimal separator "٫", the letters in the first word of the Arabic string representation of NaN \("ليس"\), Persian digits and the Persian digit group separator "٬".
|
|
1018
966
|
|
|
1019
|
-
|
|
967
|
+
#### Remarks
|
|
1020
968
|
|
|
1021
|
-
Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10+, Opera, Android Browser 4.4, and Node.js 13+.
|
|
969
|
+
Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 13+.
|
|
1022
970
|
|
|
1023
971
|
#### Inherited from
|
|
1024
972
|
|
|
1025
|
-
[FeatureAll](FeatureAll.md).[LOCALE_NUMERALS](FeatureAll.md#locale_numerals)
|
|
973
|
+
[`FeatureAll`](FeatureAll.md).[`LOCALE_NUMERALS`](FeatureAll.md#locale_numerals)
|
|
1026
974
|
|
|
1027
|
-
|
|
975
|
+
***
|
|
1028
976
|
|
|
1029
977
|
### LOCALE\_NUMERALS\_EXT
|
|
1030
978
|
|
|
1031
|
-
|
|
979
|
+
> **LOCALE\_NUMERALS\_EXT**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1032
980
|
|
|
1033
981
|
Extended localized number formatting.
|
|
1034
982
|
|
|
1035
983
|
This includes all features of LOCALE_NUMERALS plus the output of the first three letters in the second word of the Arabic string representation of NaN \("رقم"\), Bengali digits, the letters in the Russian string representation of NaN \("не число"\) and the letters in the Persian string representation of NaN \("ناعدد"\).
|
|
1036
984
|
|
|
1037
|
-
|
|
985
|
+
#### Remarks
|
|
1038
986
|
|
|
1039
|
-
Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10+, Opera, Android Browser 4.4, and Node.js 13+.
|
|
987
|
+
Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 13+.
|
|
1040
988
|
|
|
1041
989
|
#### Inherited from
|
|
1042
990
|
|
|
1043
|
-
[FeatureAll](FeatureAll.md).[LOCALE_NUMERALS_EXT](FeatureAll.md#locale_numerals_ext)
|
|
991
|
+
[`FeatureAll`](FeatureAll.md).[`LOCALE_NUMERALS_EXT`](FeatureAll.md#locale_numerals_ext)
|
|
1044
992
|
|
|
1045
|
-
|
|
993
|
+
***
|
|
1046
994
|
|
|
1047
995
|
### LOCATION
|
|
1048
996
|
|
|
1049
|
-
|
|
997
|
+
> **LOCATION**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1050
998
|
|
|
1051
999
|
Existence of the global object location with the property that Object.prototype.toString.call\(location\) evaluates to a string that starts with "\[object " and ends with "Location\]".
|
|
1052
1000
|
|
|
1053
|
-
|
|
1001
|
+
#### Remarks
|
|
1054
1002
|
|
|
1055
1003
|
Available in Chrome, Edge, Firefox, Safari, Opera, and Android Browser.
|
|
1056
1004
|
|
|
1057
1005
|
#### Inherited from
|
|
1058
1006
|
|
|
1059
|
-
[FeatureAll](FeatureAll.md).[LOCATION](FeatureAll.md#location)
|
|
1007
|
+
[`FeatureAll`](FeatureAll.md).[`LOCATION`](FeatureAll.md#location)
|
|
1008
|
+
|
|
1009
|
+
***
|
|
1060
1010
|
|
|
1061
|
-
|
|
1011
|
+
### MOZILLA
|
|
1012
|
+
|
|
1013
|
+
> **MOZILLA**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1014
|
+
|
|
1015
|
+
Existence of user agent string navigator.userAgent that starts with "Mozilla".
|
|
1016
|
+
|
|
1017
|
+
#### Remarks
|
|
1018
|
+
|
|
1019
|
+
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser.
|
|
1020
|
+
|
|
1021
|
+
#### Inherited from
|
|
1022
|
+
|
|
1023
|
+
[`FeatureAll`](FeatureAll.md).[`MOZILLA`](FeatureAll.md#mozilla)
|
|
1024
|
+
|
|
1025
|
+
***
|
|
1062
1026
|
|
|
1063
1027
|
### NAME
|
|
1064
1028
|
|
|
1065
|
-
|
|
1029
|
+
> **NAME**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1066
1030
|
|
|
1067
1031
|
Existence of the name property for functions.
|
|
1068
1032
|
|
|
1069
|
-
|
|
1033
|
+
#### Remarks
|
|
1070
1034
|
|
|
1071
1035
|
Available in Chrome, Edge, Firefox, Safari, Opera, Android Browser, and Node.js.
|
|
1072
1036
|
|
|
1073
1037
|
#### Inherited from
|
|
1074
1038
|
|
|
1075
|
-
[FeatureAll](FeatureAll.md).[NAME](FeatureAll.md#name)
|
|
1039
|
+
[`FeatureAll`](FeatureAll.md).[`NAME`](FeatureAll.md#name)
|
|
1076
1040
|
|
|
1077
|
-
|
|
1041
|
+
***
|
|
1078
1042
|
|
|
1079
|
-
###
|
|
1043
|
+
### NO\_FF\_SRC
|
|
1080
1044
|
|
|
1081
|
-
|
|
1045
|
+
> **NO\_FF\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1082
1046
|
|
|
1083
|
-
|
|
1047
|
+
A string representation of native functions typical for V8 or for Internet Explorer but not for Firefox and Safari.
|
|
1084
1048
|
|
|
1085
|
-
|
|
1049
|
+
#### Remarks
|
|
1086
1050
|
|
|
1087
|
-
Available in
|
|
1051
|
+
Available in Chrome, Edge, Internet Explorer, Opera, Android Browser, and Node.js.
|
|
1088
1052
|
|
|
1089
1053
|
#### Inherited from
|
|
1090
1054
|
|
|
1091
|
-
[FeatureAll](FeatureAll.md).[
|
|
1055
|
+
[`FeatureAll`](FeatureAll.md).[`NO_FF_SRC`](FeatureAll.md#no_ff_src)
|
|
1056
|
+
|
|
1057
|
+
***
|
|
1058
|
+
|
|
1059
|
+
### NO\_IE\_SRC
|
|
1060
|
+
|
|
1061
|
+
> **NO\_IE\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1062
|
+
|
|
1063
|
+
A string representation of native functions typical for most engines with the notable exception of Internet Explorer.
|
|
1064
|
+
|
|
1065
|
+
A remarkable trait of this feature is the lack of line feed characters at the beginning and at the end of the string.
|
|
1092
1066
|
|
|
1093
|
-
|
|
1067
|
+
#### Remarks
|
|
1068
|
+
|
|
1069
|
+
Available in Chrome, Edge, Firefox, Safari, Opera, Android Browser, and Node.js.
|
|
1070
|
+
|
|
1071
|
+
#### Inherited from
|
|
1072
|
+
|
|
1073
|
+
[`FeatureAll`](FeatureAll.md).[`NO_IE_SRC`](FeatureAll.md#no_ie_src)
|
|
1074
|
+
|
|
1075
|
+
***
|
|
1076
|
+
|
|
1077
|
+
### NO\_OLD\_SAFARI\_ARRAY\_ITERATOR
|
|
1078
|
+
|
|
1079
|
+
> **NO\_OLD\_SAFARI\_ARRAY\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1080
|
+
|
|
1081
|
+
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]".
|
|
1082
|
+
|
|
1083
|
+
#### Remarks
|
|
1084
|
+
|
|
1085
|
+
Available in Chrome, Edge, Firefox, Safari 9+, Opera, and Node.js 0.12+.
|
|
1086
|
+
|
|
1087
|
+
#### Inherited from
|
|
1088
|
+
|
|
1089
|
+
[`FeatureAll`](FeatureAll.md).[`NO_OLD_SAFARI_ARRAY_ITERATOR`](FeatureAll.md#no_old_safari_array_iterator)
|
|
1090
|
+
|
|
1091
|
+
***
|
|
1092
|
+
|
|
1093
|
+
### NO\_V8\_SRC
|
|
1094
|
+
|
|
1095
|
+
> **NO\_V8\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1096
|
+
|
|
1097
|
+
A string representation of native functions typical for Firefox, Internet Explorer and Safari.
|
|
1098
|
+
|
|
1099
|
+
A most remarkable trait of this feature is the presence of a line feed followed by four whitespaces \("\\n "\) before the "\[native code\]" sequence.
|
|
1100
|
+
|
|
1101
|
+
#### Remarks
|
|
1102
|
+
|
|
1103
|
+
Available in Firefox, Internet Explorer, and Safari.
|
|
1104
|
+
|
|
1105
|
+
#### Inherited from
|
|
1106
|
+
|
|
1107
|
+
[`FeatureAll`](FeatureAll.md).[`NO_V8_SRC`](FeatureAll.md#no_v8_src)
|
|
1108
|
+
|
|
1109
|
+
***
|
|
1094
1110
|
|
|
1095
1111
|
### NODE\_0\_10
|
|
1096
1112
|
|
|
1097
|
-
|
|
1113
|
+
> **NODE\_0\_10**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1098
1114
|
|
|
1099
1115
|
Features available in Node.js 0.10.
|
|
1100
1116
|
|
|
1101
1117
|
#### Inherited from
|
|
1102
1118
|
|
|
1103
|
-
[FeatureAll](FeatureAll.md).[NODE_0_10](FeatureAll.md#node_0_10)
|
|
1119
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_0_10`](FeatureAll.md#node_0_10)
|
|
1104
1120
|
|
|
1105
|
-
|
|
1121
|
+
***
|
|
1106
1122
|
|
|
1107
1123
|
### NODE\_0\_12
|
|
1108
1124
|
|
|
1109
|
-
|
|
1125
|
+
> **NODE\_0\_12**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1110
1126
|
|
|
1111
1127
|
Features available in Node.js 0.12.
|
|
1112
1128
|
|
|
1113
1129
|
#### Inherited from
|
|
1114
1130
|
|
|
1115
|
-
[FeatureAll](FeatureAll.md).[NODE_0_12](FeatureAll.md#node_0_12)
|
|
1131
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_0_12`](FeatureAll.md#node_0_12)
|
|
1116
1132
|
|
|
1117
|
-
|
|
1133
|
+
***
|
|
1118
1134
|
|
|
1119
1135
|
### NODE\_10
|
|
1120
1136
|
|
|
1121
|
-
|
|
1137
|
+
> **NODE\_10**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1122
1138
|
|
|
1123
1139
|
Features available in Node.js 10.
|
|
1124
1140
|
|
|
1125
1141
|
#### Inherited from
|
|
1126
1142
|
|
|
1127
|
-
[FeatureAll](FeatureAll.md).[NODE_10](FeatureAll.md#node_10)
|
|
1143
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_10`](FeatureAll.md#node_10)
|
|
1128
1144
|
|
|
1129
|
-
|
|
1145
|
+
***
|
|
1130
1146
|
|
|
1131
1147
|
### NODE\_11
|
|
1132
1148
|
|
|
1133
|
-
|
|
1149
|
+
> **NODE\_11**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1134
1150
|
|
|
1135
1151
|
Features available in Node.js 11.
|
|
1136
1152
|
|
|
1137
1153
|
#### Inherited from
|
|
1138
1154
|
|
|
1139
|
-
[FeatureAll](FeatureAll.md).[NODE_11](FeatureAll.md#node_11)
|
|
1155
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_11`](FeatureAll.md#node_11)
|
|
1140
1156
|
|
|
1141
|
-
|
|
1157
|
+
***
|
|
1142
1158
|
|
|
1143
1159
|
### NODE\_12
|
|
1144
1160
|
|
|
1145
|
-
|
|
1161
|
+
> **NODE\_12**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1146
1162
|
|
|
1147
1163
|
Features available in Node.js 12.
|
|
1148
1164
|
|
|
1149
1165
|
#### Inherited from
|
|
1150
1166
|
|
|
1151
|
-
[FeatureAll](FeatureAll.md).[NODE_12](FeatureAll.md#node_12)
|
|
1167
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_12`](FeatureAll.md#node_12)
|
|
1152
1168
|
|
|
1153
|
-
|
|
1169
|
+
***
|
|
1154
1170
|
|
|
1155
1171
|
### NODE\_13
|
|
1156
1172
|
|
|
1157
|
-
|
|
1173
|
+
> **NODE\_13**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1158
1174
|
|
|
1159
1175
|
Features available in Node.js 13 and Node.js 14.
|
|
1160
1176
|
|
|
1161
1177
|
#### Inherited from
|
|
1162
1178
|
|
|
1163
|
-
[FeatureAll](FeatureAll.md).[NODE_13](FeatureAll.md#node_13)
|
|
1179
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_13`](FeatureAll.md#node_13)
|
|
1164
1180
|
|
|
1165
|
-
|
|
1181
|
+
***
|
|
1166
1182
|
|
|
1167
1183
|
### NODE\_15
|
|
1168
1184
|
|
|
1169
|
-
|
|
1185
|
+
> **NODE\_15**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1170
1186
|
|
|
1171
1187
|
Features available in Node.js 15.
|
|
1172
1188
|
|
|
1173
1189
|
#### Inherited from
|
|
1174
1190
|
|
|
1175
|
-
[FeatureAll](FeatureAll.md).[NODE_15](FeatureAll.md#node_15)
|
|
1191
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_15`](FeatureAll.md#node_15)
|
|
1176
1192
|
|
|
1177
|
-
|
|
1193
|
+
***
|
|
1178
1194
|
|
|
1179
1195
|
### NODE\_16\_0
|
|
1180
1196
|
|
|
1181
|
-
|
|
1197
|
+
> **NODE\_16\_0**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1182
1198
|
|
|
1183
1199
|
Features available in Node.js 16.0 to 16.5.
|
|
1184
1200
|
|
|
1185
1201
|
#### Inherited from
|
|
1186
1202
|
|
|
1187
|
-
[FeatureAll](FeatureAll.md).[NODE_16_0](FeatureAll.md#node_16_0)
|
|
1203
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_16_0`](FeatureAll.md#node_16_0)
|
|
1188
1204
|
|
|
1189
|
-
|
|
1205
|
+
***
|
|
1190
1206
|
|
|
1191
1207
|
### NODE\_16\_6
|
|
1192
1208
|
|
|
1193
|
-
|
|
1209
|
+
> **NODE\_16\_6**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1194
1210
|
|
|
1195
1211
|
Features available in Node.js 16.6 to 21.
|
|
1196
1212
|
|
|
1197
1213
|
#### Inherited from
|
|
1198
1214
|
|
|
1199
|
-
[FeatureAll](FeatureAll.md).[NODE_16_6](FeatureAll.md#node_16_6)
|
|
1215
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_16_6`](FeatureAll.md#node_16_6)
|
|
1200
1216
|
|
|
1201
|
-
|
|
1217
|
+
***
|
|
1202
1218
|
|
|
1203
1219
|
### NODE\_22
|
|
1204
1220
|
|
|
1205
|
-
|
|
1221
|
+
> **NODE\_22**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1206
1222
|
|
|
1207
1223
|
Features available in Node.js 22 or later.
|
|
1208
1224
|
|
|
1209
1225
|
#### Inherited from
|
|
1210
1226
|
|
|
1211
|
-
[FeatureAll](FeatureAll.md).[NODE_22](FeatureAll.md#node_22)
|
|
1227
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_22`](FeatureAll.md#node_22)
|
|
1212
1228
|
|
|
1213
|
-
|
|
1229
|
+
***
|
|
1214
1230
|
|
|
1215
1231
|
### NODE\_4
|
|
1216
1232
|
|
|
1217
|
-
|
|
1233
|
+
> **NODE\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1218
1234
|
|
|
1219
1235
|
Features available in Node.js 4.
|
|
1220
1236
|
|
|
1221
1237
|
#### Inherited from
|
|
1222
1238
|
|
|
1223
|
-
[FeatureAll](FeatureAll.md).[NODE_4](FeatureAll.md#node_4)
|
|
1239
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_4`](FeatureAll.md#node_4)
|
|
1224
1240
|
|
|
1225
|
-
|
|
1241
|
+
***
|
|
1226
1242
|
|
|
1227
1243
|
### NODE\_5
|
|
1228
1244
|
|
|
1229
|
-
|
|
1245
|
+
> **NODE\_5**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1230
1246
|
|
|
1231
|
-
Features available in Node.js 5 to
|
|
1247
|
+
Features available in Node.js 5 to 7.5.
|
|
1232
1248
|
|
|
1233
1249
|
#### Inherited from
|
|
1234
1250
|
|
|
1235
|
-
[FeatureAll](FeatureAll.md).[NODE_5](FeatureAll.md#node_5)
|
|
1251
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_5`](FeatureAll.md#node_5)
|
|
1236
1252
|
|
|
1237
|
-
|
|
1253
|
+
***
|
|
1238
1254
|
|
|
1239
|
-
###
|
|
1255
|
+
### NODE\_7\_6
|
|
1240
1256
|
|
|
1241
|
-
|
|
1257
|
+
> **NODE\_7\_6**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1242
1258
|
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
**`Remarks`**
|
|
1246
|
-
|
|
1247
|
-
Available in Chrome, Edge, Internet Explorer, Opera, Android Browser, and Node.js.
|
|
1259
|
+
Features available in Node.js 7.6 to 9.
|
|
1248
1260
|
|
|
1249
1261
|
#### Inherited from
|
|
1250
1262
|
|
|
1251
|
-
[FeatureAll](FeatureAll.md).[
|
|
1252
|
-
|
|
1253
|
-
___
|
|
1263
|
+
[`FeatureAll`](FeatureAll.md).[`NODE_7_6`](FeatureAll.md#node_7_6)
|
|
1254
1264
|
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
• **NO\_IE\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1265
|
+
***
|
|
1258
1266
|
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
A remarkable trait of this feature is the lack of line feed characters at the beginning and at the end of the string.
|
|
1262
|
-
|
|
1263
|
-
**`Remarks`**
|
|
1264
|
-
|
|
1265
|
-
Available in Chrome, Edge, Firefox, Safari, Opera, Android Browser, and Node.js.
|
|
1266
|
-
|
|
1267
|
-
#### Inherited from
|
|
1268
|
-
|
|
1269
|
-
[FeatureAll](FeatureAll.md).[NO_IE_SRC](FeatureAll.md#no_ie_src)
|
|
1270
|
-
|
|
1271
|
-
___
|
|
1272
|
-
|
|
1273
|
-
### NO\_OLD\_SAFARI\_ARRAY\_ITERATOR
|
|
1274
|
-
|
|
1275
|
-
• **NO\_OLD\_SAFARI\_ARRAY\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1276
|
-
|
|
1277
|
-
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]".
|
|
1278
|
-
|
|
1279
|
-
**`Remarks`**
|
|
1280
|
-
|
|
1281
|
-
Available in Chrome, Edge, Firefox, Safari 9+, Opera, and Node.js 0.12+.
|
|
1282
|
-
|
|
1283
|
-
#### Inherited from
|
|
1284
|
-
|
|
1285
|
-
[FeatureAll](FeatureAll.md).[NO_OLD_SAFARI_ARRAY_ITERATOR](FeatureAll.md#no_old_safari_array_iterator)
|
|
1286
|
-
|
|
1287
|
-
___
|
|
1288
|
-
|
|
1289
|
-
### NO\_V8\_SRC
|
|
1290
|
-
|
|
1291
|
-
• **NO\_V8\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1267
|
+
### NODECONSTRUCTOR
|
|
1292
1268
|
|
|
1293
|
-
|
|
1269
|
+
> **NODECONSTRUCTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1294
1270
|
|
|
1295
|
-
|
|
1271
|
+
Existence of the global object Node having the string representation "\[object NodeConstructor\]".
|
|
1296
1272
|
|
|
1297
|
-
|
|
1273
|
+
#### Remarks
|
|
1298
1274
|
|
|
1299
|
-
Available in
|
|
1275
|
+
Available in Safari before 10.0. This feature is not available inside web workers.
|
|
1300
1276
|
|
|
1301
1277
|
#### Inherited from
|
|
1302
1278
|
|
|
1303
|
-
[FeatureAll](FeatureAll.md).[
|
|
1279
|
+
[`FeatureAll`](FeatureAll.md).[`NODECONSTRUCTOR`](FeatureAll.md#nodeconstructor)
|
|
1304
1280
|
|
|
1305
|
-
|
|
1281
|
+
***
|
|
1306
1282
|
|
|
1307
1283
|
### OBJECT\_ARRAY\_ENTRIES\_CTOR
|
|
1308
1284
|
|
|
1309
|
-
|
|
1285
|
+
> **OBJECT\_ARRAY\_ENTRIES\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1310
1286
|
|
|
1311
1287
|
The property that the Array.prototype.entries\(\).constructor is the Object constructor.
|
|
1312
1288
|
|
|
1313
|
-
|
|
1289
|
+
#### Remarks
|
|
1314
1290
|
|
|
1315
|
-
Available in Firefox, Safari 9+, and Node.js 0.12+ before 22.
|
|
1291
|
+
Available in Firefox before 131, Safari 9+, and Node.js 0.12+ before 22.
|
|
1316
1292
|
|
|
1317
1293
|
#### Inherited from
|
|
1318
1294
|
|
|
1319
|
-
[FeatureAll](FeatureAll.md).[OBJECT_ARRAY_ENTRIES_CTOR](FeatureAll.md#object_array_entries_ctor)
|
|
1295
|
+
[`FeatureAll`](FeatureAll.md).[`OBJECT_ARRAY_ENTRIES_CTOR`](FeatureAll.md#object_array_entries_ctor)
|
|
1320
1296
|
|
|
1321
|
-
|
|
1297
|
+
***
|
|
1322
1298
|
|
|
1323
1299
|
### OBJECT\_L\_LOCATION\_CTOR
|
|
1324
1300
|
|
|
1325
|
-
|
|
1301
|
+
> **OBJECT\_L\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1326
1302
|
|
|
1327
1303
|
Existence of the global function location.constructor whose string representation starts with "\[object L".
|
|
1328
1304
|
|
|
1329
|
-
|
|
1305
|
+
#### Remarks
|
|
1330
1306
|
|
|
1331
|
-
Available in Internet Explorer and Safari before 10. This feature is not available inside web workers.
|
|
1307
|
+
Available in Internet Explorer and Safari before 10.0. This feature is not available inside web workers.
|
|
1332
1308
|
|
|
1333
1309
|
#### Inherited from
|
|
1334
1310
|
|
|
1335
|
-
[FeatureAll](FeatureAll.md).[OBJECT_L_LOCATION_CTOR](FeatureAll.md#object_l_location_ctor)
|
|
1311
|
+
[`FeatureAll`](FeatureAll.md).[`OBJECT_L_LOCATION_CTOR`](FeatureAll.md#object_l_location_ctor)
|
|
1336
1312
|
|
|
1337
|
-
|
|
1313
|
+
***
|
|
1338
1314
|
|
|
1339
1315
|
### OBJECT\_UNDEFINED
|
|
1340
1316
|
|
|
1341
|
-
|
|
1317
|
+
> **OBJECT\_UNDEFINED**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1342
1318
|
|
|
1343
1319
|
Having the function Object.prototype.toString return the string "\[object Undefined\]" when invoked without a binding.
|
|
1344
1320
|
|
|
1345
|
-
|
|
1321
|
+
#### Remarks
|
|
1346
1322
|
|
|
1347
1323
|
Available in Chrome, Edge, Firefox, Internet Explorer 10+, Safari, Opera, Android Browser 4.1+, and Node.js.
|
|
1348
1324
|
|
|
1349
1325
|
#### Inherited from
|
|
1350
1326
|
|
|
1351
|
-
[FeatureAll](FeatureAll.md).[OBJECT_UNDEFINED](FeatureAll.md#object_undefined)
|
|
1327
|
+
[`FeatureAll`](FeatureAll.md).[`OBJECT_UNDEFINED`](FeatureAll.md#object_undefined)
|
|
1352
1328
|
|
|
1353
|
-
|
|
1329
|
+
***
|
|
1354
1330
|
|
|
1355
|
-
### OBJECT\_W\
|
|
1331
|
+
### OBJECT\_W\_SELF
|
|
1356
1332
|
|
|
1357
|
-
|
|
1333
|
+
> **OBJECT\_W\_SELF**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1358
1334
|
|
|
1359
|
-
The property that the string representation of the global object
|
|
1335
|
+
The property that the string representation of the global object self starts with "\[object W".
|
|
1360
1336
|
|
|
1361
|
-
|
|
1337
|
+
#### Remarks
|
|
1362
1338
|
|
|
1363
|
-
Available in Internet Explorer and
|
|
1339
|
+
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser 4.4. This feature is not available inside web workers in Chrome, Edge, Firefox, Safari, Opera, and Android Browser 4.4.
|
|
1364
1340
|
|
|
1365
1341
|
#### Inherited from
|
|
1366
1342
|
|
|
1367
|
-
[FeatureAll](FeatureAll.md).[
|
|
1343
|
+
[`FeatureAll`](FeatureAll.md).[`OBJECT_W_SELF`](FeatureAll.md#object_w_self)
|
|
1368
1344
|
|
|
1369
|
-
|
|
1345
|
+
***
|
|
1370
1346
|
|
|
1371
1347
|
### OLD\_SAFARI\_LOCATION\_CTOR
|
|
1372
1348
|
|
|
1373
|
-
|
|
1349
|
+
> **OLD\_SAFARI\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1374
1350
|
|
|
1375
1351
|
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]".
|
|
1376
1352
|
|
|
1377
|
-
|
|
1353
|
+
#### Remarks
|
|
1378
1354
|
|
|
1379
|
-
Available in Safari before 10.
|
|
1355
|
+
Available in Safari before 10.0.
|
|
1380
1356
|
|
|
1381
1357
|
#### Inherited from
|
|
1382
1358
|
|
|
1383
|
-
[FeatureAll](FeatureAll.md).[OLD_SAFARI_LOCATION_CTOR](FeatureAll.md#old_safari_location_ctor)
|
|
1359
|
+
[`FeatureAll`](FeatureAll.md).[`OLD_SAFARI_LOCATION_CTOR`](FeatureAll.md#old_safari_location_ctor)
|
|
1384
1360
|
|
|
1385
|
-
|
|
1361
|
+
***
|
|
1386
1362
|
|
|
1387
1363
|
### PLAIN\_INTL
|
|
1388
1364
|
|
|
1389
|
-
|
|
1365
|
+
> **PLAIN\_INTL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1390
1366
|
|
|
1391
1367
|
Existence of the global object Intl having the string representation "\[object Object\]".
|
|
1392
1368
|
|
|
1393
|
-
|
|
1369
|
+
#### Remarks
|
|
1394
1370
|
|
|
1395
|
-
Available in Internet Explorer 11, Safari 10+ before 14.0.1, Android Browser 4.4, and Node.js 0.12+ before 15.
|
|
1371
|
+
Available in Internet Explorer 11, Safari 10.0+ before 14.0.1, Android Browser 4.4, and Node.js 0.12+ before 15.
|
|
1396
1372
|
|
|
1397
1373
|
#### Inherited from
|
|
1398
1374
|
|
|
1399
|
-
[FeatureAll](FeatureAll.md).[PLAIN_INTL](FeatureAll.md#plain_intl)
|
|
1375
|
+
[`FeatureAll`](FeatureAll.md).[`PLAIN_INTL`](FeatureAll.md#plain_intl)
|
|
1400
1376
|
|
|
1401
|
-
|
|
1377
|
+
***
|
|
1402
1378
|
|
|
1403
1379
|
### REGEXP\_STRING\_ITERATOR
|
|
1404
1380
|
|
|
1405
|
-
|
|
1381
|
+
> **REGEXP\_STRING\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1406
1382
|
|
|
1407
1383
|
The property that the string representation of String.prototype.matchAll\(\) evaluates to "\[object RegExp String Iterator\]".
|
|
1408
1384
|
|
|
1409
|
-
|
|
1385
|
+
#### Remarks
|
|
1410
1386
|
|
|
1411
1387
|
Available in Chrome, Edge, Firefox, Safari 13+, Opera, and Node.js 12+.
|
|
1412
1388
|
|
|
1413
1389
|
#### Inherited from
|
|
1414
1390
|
|
|
1415
|
-
[FeatureAll](FeatureAll.md).[REGEXP_STRING_ITERATOR](FeatureAll.md#regexp_string_iterator)
|
|
1391
|
+
[`FeatureAll`](FeatureAll.md).[`REGEXP_STRING_ITERATOR`](FeatureAll.md#regexp_string_iterator)
|
|
1416
1392
|
|
|
1417
|
-
|
|
1393
|
+
***
|
|
1418
1394
|
|
|
1419
1395
|
### SAFARI
|
|
1420
1396
|
|
|
1421
|
-
|
|
1397
|
+
> **SAFARI**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1422
1398
|
|
|
1423
1399
|
Features available in the current stable version of Safari.
|
|
1424
1400
|
|
|
1425
|
-
An alias for `
|
|
1401
|
+
An alias for `SAFARI_18`.
|
|
1426
1402
|
|
|
1427
1403
|
#### Inherited from
|
|
1428
1404
|
|
|
1429
|
-
[FeatureAll](FeatureAll.md).[SAFARI](FeatureAll.md#safari)
|
|
1405
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI`](FeatureAll.md#safari)
|
|
1430
1406
|
|
|
1431
|
-
|
|
1407
|
+
***
|
|
1432
1408
|
|
|
1433
|
-
### SAFARI\_10
|
|
1409
|
+
### SAFARI\_10\_0
|
|
1434
1410
|
|
|
1435
|
-
|
|
1411
|
+
> **SAFARI\_10\_0**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1436
1412
|
|
|
1437
|
-
Features available in Safari 10
|
|
1413
|
+
Features available in Safari 10.0.
|
|
1438
1414
|
|
|
1439
1415
|
#### Inherited from
|
|
1440
1416
|
|
|
1441
|
-
[FeatureAll](FeatureAll.md).[
|
|
1417
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_10_0`](FeatureAll.md#safari_10_0)
|
|
1442
1418
|
|
|
1443
|
-
|
|
1419
|
+
***
|
|
1420
|
+
|
|
1421
|
+
### SAFARI\_10\_1
|
|
1422
|
+
|
|
1423
|
+
> **SAFARI\_10\_1**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1424
|
+
|
|
1425
|
+
Features available in Safari 10.1 and Safari 11.
|
|
1426
|
+
|
|
1427
|
+
#### Inherited from
|
|
1428
|
+
|
|
1429
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_10_1`](FeatureAll.md#safari_10_1)
|
|
1430
|
+
|
|
1431
|
+
***
|
|
1444
1432
|
|
|
1445
1433
|
### SAFARI\_12
|
|
1446
1434
|
|
|
1447
|
-
|
|
1435
|
+
> **SAFARI\_12**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1448
1436
|
|
|
1449
1437
|
Features available in Safari 12.
|
|
1450
1438
|
|
|
1451
1439
|
#### Inherited from
|
|
1452
1440
|
|
|
1453
|
-
[FeatureAll](FeatureAll.md).[SAFARI_12](FeatureAll.md#safari_12)
|
|
1441
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_12`](FeatureAll.md#safari_12)
|
|
1454
1442
|
|
|
1455
|
-
|
|
1443
|
+
***
|
|
1456
1444
|
|
|
1457
1445
|
### SAFARI\_13
|
|
1458
1446
|
|
|
1459
|
-
|
|
1447
|
+
> **SAFARI\_13**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1460
1448
|
|
|
1461
1449
|
Features available in Safari 13 and Safari 14.0.0.
|
|
1462
1450
|
|
|
1463
1451
|
#### Inherited from
|
|
1464
1452
|
|
|
1465
|
-
[FeatureAll](FeatureAll.md).[SAFARI_13](FeatureAll.md#safari_13)
|
|
1453
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_13`](FeatureAll.md#safari_13)
|
|
1466
1454
|
|
|
1467
|
-
|
|
1455
|
+
***
|
|
1468
1456
|
|
|
1469
1457
|
### SAFARI\_14\_0\_1
|
|
1470
1458
|
|
|
1471
|
-
|
|
1459
|
+
> **SAFARI\_14\_0\_1**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1472
1460
|
|
|
1473
1461
|
Features available in Safari 14.0.1 to 14.0.3.
|
|
1474
1462
|
|
|
1475
1463
|
#### Inherited from
|
|
1476
1464
|
|
|
1477
|
-
[FeatureAll](FeatureAll.md).[SAFARI_14_0_1](FeatureAll.md#safari_14_0_1)
|
|
1465
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_14_0_1`](FeatureAll.md#safari_14_0_1)
|
|
1478
1466
|
|
|
1479
|
-
|
|
1467
|
+
***
|
|
1480
1468
|
|
|
1481
1469
|
### SAFARI\_14\_1
|
|
1482
1470
|
|
|
1483
|
-
|
|
1471
|
+
> **SAFARI\_14\_1**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1484
1472
|
|
|
1485
1473
|
Features available in Safari 14.1 to 15.3.
|
|
1486
1474
|
|
|
1487
1475
|
#### Inherited from
|
|
1488
1476
|
|
|
1489
|
-
[FeatureAll](FeatureAll.md).[SAFARI_14_1](FeatureAll.md#safari_14_1)
|
|
1477
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_14_1`](FeatureAll.md#safari_14_1)
|
|
1490
1478
|
|
|
1491
|
-
|
|
1479
|
+
***
|
|
1492
1480
|
|
|
1493
1481
|
### SAFARI\_15\_4
|
|
1494
1482
|
|
|
1495
|
-
|
|
1483
|
+
> **SAFARI\_15\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1496
1484
|
|
|
1497
1485
|
Features available in Safari 15.4 to 17.3.
|
|
1498
1486
|
|
|
1499
1487
|
#### Inherited from
|
|
1500
1488
|
|
|
1501
|
-
[FeatureAll](FeatureAll.md).[SAFARI_15_4](FeatureAll.md#safari_15_4)
|
|
1489
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_15_4`](FeatureAll.md#safari_15_4)
|
|
1502
1490
|
|
|
1503
|
-
|
|
1491
|
+
***
|
|
1504
1492
|
|
|
1505
1493
|
### SAFARI\_17\_4
|
|
1506
1494
|
|
|
1507
|
-
|
|
1495
|
+
> **SAFARI\_17\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1496
|
+
|
|
1497
|
+
Features available in Safari 17.4 to 17.6.
|
|
1498
|
+
|
|
1499
|
+
#### Inherited from
|
|
1500
|
+
|
|
1501
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_17_4`](FeatureAll.md#safari_17_4)
|
|
1502
|
+
|
|
1503
|
+
***
|
|
1504
|
+
|
|
1505
|
+
### SAFARI\_18
|
|
1508
1506
|
|
|
1509
|
-
|
|
1507
|
+
> **SAFARI\_18**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1508
|
+
|
|
1509
|
+
Features available in Safari 18 or later.
|
|
1510
1510
|
|
|
1511
1511
|
#### Inherited from
|
|
1512
1512
|
|
|
1513
|
-
[FeatureAll](FeatureAll.md).[
|
|
1513
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_18`](FeatureAll.md#safari_18)
|
|
1514
1514
|
|
|
1515
|
-
|
|
1515
|
+
***
|
|
1516
1516
|
|
|
1517
1517
|
### SAFARI\_7\_0
|
|
1518
1518
|
|
|
1519
|
-
|
|
1519
|
+
> **SAFARI\_7\_0**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1520
1520
|
|
|
1521
1521
|
Features available in Safari 7.0.
|
|
1522
1522
|
|
|
1523
1523
|
#### Inherited from
|
|
1524
1524
|
|
|
1525
|
-
[FeatureAll](FeatureAll.md).[SAFARI_7_0](FeatureAll.md#safari_7_0)
|
|
1525
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_7_0`](FeatureAll.md#safari_7_0)
|
|
1526
1526
|
|
|
1527
|
-
|
|
1527
|
+
***
|
|
1528
1528
|
|
|
1529
1529
|
### SAFARI\_7\_1
|
|
1530
1530
|
|
|
1531
|
-
|
|
1531
|
+
> **SAFARI\_7\_1**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1532
1532
|
|
|
1533
1533
|
Features available in Safari 7.1 and Safari 8.
|
|
1534
1534
|
|
|
1535
1535
|
#### Inherited from
|
|
1536
1536
|
|
|
1537
|
-
[FeatureAll](FeatureAll.md).[SAFARI_7_1](FeatureAll.md#safari_7_1)
|
|
1537
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_7_1`](FeatureAll.md#safari_7_1)
|
|
1538
1538
|
|
|
1539
|
-
|
|
1539
|
+
***
|
|
1540
1540
|
|
|
1541
1541
|
### SAFARI\_9
|
|
1542
1542
|
|
|
1543
|
-
|
|
1543
|
+
> **SAFARI\_9**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1544
1544
|
|
|
1545
1545
|
Features available in Safari 9.
|
|
1546
1546
|
|
|
1547
1547
|
#### Inherited from
|
|
1548
1548
|
|
|
1549
|
-
[FeatureAll](FeatureAll.md).[SAFARI_9](FeatureAll.md#safari_9)
|
|
1549
|
+
[`FeatureAll`](FeatureAll.md).[`SAFARI_9`](FeatureAll.md#safari_9)
|
|
1550
1550
|
|
|
1551
|
-
|
|
1551
|
+
***
|
|
1552
1552
|
|
|
1553
1553
|
### SELF
|
|
1554
1554
|
|
|
1555
|
-
|
|
1555
|
+
> **SELF**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1556
1556
|
|
|
1557
1557
|
An alias for `ANY_WINDOW`.
|
|
1558
1558
|
|
|
1559
1559
|
#### Inherited from
|
|
1560
1560
|
|
|
1561
|
-
[FeatureAll](FeatureAll.md).[SELF](FeatureAll.md#self)
|
|
1561
|
+
[`FeatureAll`](FeatureAll.md).[`SELF`](FeatureAll.md#self)
|
|
1562
1562
|
|
|
1563
|
-
|
|
1563
|
+
***
|
|
1564
1564
|
|
|
1565
1565
|
### SELF\_OBJ
|
|
1566
1566
|
|
|
1567
|
-
|
|
1567
|
+
> **SELF\_OBJ**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1568
1568
|
|
|
1569
1569
|
Existence of the global object self whose string representation starts with "\[object ".
|
|
1570
1570
|
|
|
1571
|
-
|
|
1571
|
+
#### Remarks
|
|
1572
1572
|
|
|
1573
|
-
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers in Safari 7.1+ before 10.
|
|
1573
|
+
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers in Safari 7.1+ before 10.0.
|
|
1574
1574
|
|
|
1575
1575
|
#### Inherited from
|
|
1576
1576
|
|
|
1577
|
-
[FeatureAll](FeatureAll.md).[SELF_OBJ](FeatureAll.md#self_obj)
|
|
1577
|
+
[`FeatureAll`](FeatureAll.md).[`SELF_OBJ`](FeatureAll.md#self_obj)
|
|
1578
1578
|
|
|
1579
|
-
|
|
1579
|
+
***
|
|
1580
1580
|
|
|
1581
1581
|
### SHORT\_LOCALES
|
|
1582
1582
|
|
|
1583
|
-
|
|
1583
|
+
> **SHORT\_LOCALES**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1584
1584
|
|
|
1585
1585
|
Support for the two-letter locale name "ar" to format decimal numbers as Arabic numerals.
|
|
1586
1586
|
|
|
1587
|
-
|
|
1587
|
+
#### Remarks
|
|
1588
1588
|
|
|
1589
|
-
Available in Firefox, Internet Explorer 11, Safari 10
|
|
1589
|
+
Available in Firefox, Internet Explorer 11, Safari 10.0+ before 18, Android Browser 4.4, and Node.js 13+.
|
|
1590
1590
|
|
|
1591
1591
|
#### Inherited from
|
|
1592
1592
|
|
|
1593
|
-
[FeatureAll](FeatureAll.md).[SHORT_LOCALES](FeatureAll.md#short_locales)
|
|
1593
|
+
[`FeatureAll`](FeatureAll.md).[`SHORT_LOCALES`](FeatureAll.md#short_locales)
|
|
1594
1594
|
|
|
1595
|
-
|
|
1595
|
+
***
|
|
1596
1596
|
|
|
1597
1597
|
### STATUS
|
|
1598
1598
|
|
|
1599
|
-
|
|
1599
|
+
> **STATUS**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1600
1600
|
|
|
1601
1601
|
Existence of the global string status.
|
|
1602
1602
|
|
|
1603
|
-
|
|
1603
|
+
#### Remarks
|
|
1604
1604
|
|
|
1605
1605
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers.
|
|
1606
1606
|
|
|
1607
1607
|
#### Inherited from
|
|
1608
1608
|
|
|
1609
|
-
[FeatureAll](FeatureAll.md).[STATUS](FeatureAll.md#status)
|
|
1609
|
+
[`FeatureAll`](FeatureAll.md).[`STATUS`](FeatureAll.md#status)
|
|
1610
1610
|
|
|
1611
|
-
|
|
1611
|
+
***
|
|
1612
1612
|
|
|
1613
1613
|
### UNDEFINED
|
|
1614
1614
|
|
|
1615
|
-
|
|
1615
|
+
> **UNDEFINED**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1616
1616
|
|
|
1617
1617
|
The property that Object.prototype.toString.call\(\) evaluates to "\[object Undefined\]".
|
|
1618
1618
|
|
|
1619
1619
|
This behavior is specified by ECMAScript, and is enforced by all engines except Android Browser versions prior to 4.1.2, where this feature is not available.
|
|
1620
1620
|
|
|
1621
|
-
|
|
1621
|
+
#### Remarks
|
|
1622
1622
|
|
|
1623
1623
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, Android Browser 4.1+, and Node.js.
|
|
1624
1624
|
|
|
1625
1625
|
#### Inherited from
|
|
1626
1626
|
|
|
1627
|
-
[FeatureAll](FeatureAll.md).[UNDEFINED](FeatureAll.md#undefined)
|
|
1627
|
+
[`FeatureAll`](FeatureAll.md).[`UNDEFINED`](FeatureAll.md#undefined)
|
|
1628
1628
|
|
|
1629
|
-
|
|
1629
|
+
***
|
|
1630
1630
|
|
|
1631
1631
|
### V8\_SRC
|
|
1632
1632
|
|
|
1633
|
-
|
|
1633
|
+
> **V8\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1634
1634
|
|
|
1635
1635
|
A string representation of native functions typical for the V8 engine.
|
|
1636
1636
|
|
|
1637
1637
|
Remarkable traits are the lack of line feed characters at the beginning and at the end of the string and the presence of a single whitespace before the "\[native code\]" sequence.
|
|
1638
1638
|
|
|
1639
|
-
|
|
1639
|
+
#### Remarks
|
|
1640
1640
|
|
|
1641
1641
|
Available in Chrome, Edge, Opera, Android Browser, and Node.js.
|
|
1642
1642
|
|
|
1643
1643
|
#### Inherited from
|
|
1644
1644
|
|
|
1645
|
-
[FeatureAll](FeatureAll.md).[V8_SRC](FeatureAll.md#v8_src)
|
|
1645
|
+
[`FeatureAll`](FeatureAll.md).[`V8_SRC`](FeatureAll.md#v8_src)
|
|
1646
1646
|
|
|
1647
|
-
|
|
1647
|
+
***
|
|
1648
1648
|
|
|
1649
1649
|
### WINDOW
|
|
1650
1650
|
|
|
1651
|
-
|
|
1651
|
+
> **WINDOW**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1652
1652
|
|
|
1653
1653
|
Existence of the global object self having the string representation "\[object Window\]".
|
|
1654
1654
|
|
|
1655
|
-
|
|
1655
|
+
#### Remarks
|
|
1656
1656
|
|
|
1657
1657
|
Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser 4.4. This feature is not available inside web workers.
|
|
1658
1658
|
|
|
1659
1659
|
#### Inherited from
|
|
1660
1660
|
|
|
1661
|
-
[FeatureAll](FeatureAll.md).[WINDOW](FeatureAll.md#window)
|
|
1661
|
+
[`FeatureAll`](FeatureAll.md).[`WINDOW`](FeatureAll.md#window)
|
|
1662
1662
|
|
|
1663
1663
|
## Methods
|
|
1664
1664
|
|
|
1665
|
-
### areCompatible
|
|
1665
|
+
### areCompatible()
|
|
1666
1666
|
|
|
1667
|
-
|
|
1667
|
+
> **areCompatible**(...`features`): `boolean`
|
|
1668
1668
|
|
|
1669
1669
|
Determines whether the specified features are mutually compatible.
|
|
1670
1670
|
|
|
1671
1671
|
#### Parameters
|
|
1672
1672
|
|
|
1673
|
-
|
|
1674
|
-
| :------ | :------ |
|
|
1675
|
-
| `...features` | [`FeatureElement`](../README.md#featureelement)[] |
|
|
1673
|
+
• ...**features**: [`FeatureElement`](../type-aliases/FeatureElement.md)[]
|
|
1676
1674
|
|
|
1677
1675
|
#### Returns
|
|
1678
1676
|
|
|
@@ -1681,7 +1679,7 @@ Determines whether the specified features are mutually compatible.
|
|
|
1681
1679
|
`true` if the specified features are mutually compatible; otherwise, `false`.
|
|
1682
1680
|
If less than two features are specified, the return value is `true`.
|
|
1683
1681
|
|
|
1684
|
-
|
|
1682
|
+
#### Example
|
|
1685
1683
|
|
|
1686
1684
|
```js
|
|
1687
1685
|
// false: only one of "V8_SRC" or "IE_SRC" may be available.
|
|
@@ -1693,11 +1691,11 @@ JScrewIt.Feature.areCompatible("V8_SRC", "IE_SRC")
|
|
|
1693
1691
|
JScrewIt.Feature.areCompatible(JScrewIt.Feature.DEFAULT, JScrewIt.Feature.FILL)
|
|
1694
1692
|
```
|
|
1695
1693
|
|
|
1696
|
-
|
|
1694
|
+
***
|
|
1697
1695
|
|
|
1698
|
-
### areEqual
|
|
1696
|
+
### areEqual()
|
|
1699
1697
|
|
|
1700
|
-
|
|
1698
|
+
> **areEqual**(...`features`): `boolean`
|
|
1701
1699
|
|
|
1702
1700
|
Determines whether all of the specified features are equivalent.
|
|
1703
1701
|
|
|
@@ -1706,9 +1704,7 @@ features, regardless of any other difference.
|
|
|
1706
1704
|
|
|
1707
1705
|
#### Parameters
|
|
1708
1706
|
|
|
1709
|
-
|
|
1710
|
-
| :------ | :------ |
|
|
1711
|
-
| `...features` | [`FeatureElementOrCompatibleArray`](../README.md#featureelementorcompatiblearray)[] |
|
|
1707
|
+
• ...**features**: [`FeatureElementOrCompatibleArray`](../type-aliases/FeatureElementOrCompatibleArray.md)[]
|
|
1712
1708
|
|
|
1713
1709
|
#### Returns
|
|
1714
1710
|
|
|
@@ -1717,7 +1713,7 @@ features, regardless of any other difference.
|
|
|
1717
1713
|
`true` if all of the specified features are equivalent; otherwise, `false`.
|
|
1718
1714
|
If less than two arguments are specified, the return value is `true`.
|
|
1719
1715
|
|
|
1720
|
-
|
|
1716
|
+
#### Example
|
|
1721
1717
|
|
|
1722
1718
|
```js
|
|
1723
1719
|
// false
|
|
@@ -1729,27 +1725,25 @@ JScrewIt.Feature.areEqual(JScrewIt.Feature.CHROME, JScrewIt.Feature.FF)
|
|
|
1729
1725
|
JScrewIt.Feature.areEqual("DEFAULT", [])
|
|
1730
1726
|
```
|
|
1731
1727
|
|
|
1732
|
-
|
|
1728
|
+
***
|
|
1733
1729
|
|
|
1734
|
-
### commonOf
|
|
1730
|
+
### commonOf()
|
|
1735
1731
|
|
|
1736
|
-
|
|
1732
|
+
> **commonOf**(...`features`): `null` \| [`CustomFeature`](CustomFeature.md)
|
|
1737
1733
|
|
|
1738
1734
|
Creates a new feature object equivalent to the intersection of the specified features.
|
|
1739
1735
|
|
|
1740
1736
|
#### Parameters
|
|
1741
1737
|
|
|
1742
|
-
|
|
1743
|
-
| :------ | :------ |
|
|
1744
|
-
| `...features` | [`FeatureElementOrCompatibleArray`](../README.md#featureelementorcompatiblearray)[] |
|
|
1738
|
+
• ...**features**: [`FeatureElementOrCompatibleArray`](../type-aliases/FeatureElementOrCompatibleArray.md)[]
|
|
1745
1739
|
|
|
1746
1740
|
#### Returns
|
|
1747
1741
|
|
|
1748
|
-
|
|
1742
|
+
`null` \| [`CustomFeature`](CustomFeature.md)
|
|
1749
1743
|
|
|
1750
1744
|
A feature object, or `null` if no arguments are specified.
|
|
1751
1745
|
|
|
1752
|
-
|
|
1746
|
+
#### Example
|
|
1753
1747
|
|
|
1754
1748
|
This will create a new feature object equivalent to [`NAME`](FeatureAll.md#name).
|
|
1755
1749
|
|
|
@@ -1757,35 +1751,35 @@ This will create a new feature object equivalent to [`NAME`](FeatureAll.md#name)
|
|
|
1757
1751
|
const newFeature = JScrewIt.Feature.commonOf(["ATOB", "NAME"], ["NAME", "SELF"]);
|
|
1758
1752
|
```
|
|
1759
1753
|
|
|
1760
|
-
This will create a new feature object equivalent to [FeatureConstructor.
|
|
1761
|
-
This is because both [`
|
|
1754
|
+
This will create a new feature object equivalent to [FeatureConstructor.ANY_WINDOW | `ANY_WINDOW`](FeatureAll.md#any_window).
|
|
1755
|
+
This is because both [`DOMWINDOW`](FeatureAll.md#domwindow) and [`WINDOW`](FeatureConstructor.md#window) imply [FeatureConstructor.ANY_WINDOW | `ANY_WINDOW`](FeatureAll.md#any_window).
|
|
1762
1756
|
|
|
1763
1757
|
```js
|
|
1764
|
-
const newFeature = JScrewIt.Feature.commonOf("
|
|
1758
|
+
const newFeature = JScrewIt.Feature.commonOf("DOMWINDOW", "WINDOW");
|
|
1765
1759
|
```
|
|
1766
1760
|
|
|
1767
|
-
|
|
1761
|
+
***
|
|
1768
1762
|
|
|
1769
|
-
### descriptionFor
|
|
1763
|
+
### descriptionFor()
|
|
1770
1764
|
|
|
1771
|
-
|
|
1765
|
+
> **descriptionFor**(`name`): `string`
|
|
1772
1766
|
|
|
1773
1767
|
Returns a short description of a predefined feature in plain English.
|
|
1774
1768
|
|
|
1775
1769
|
#### Parameters
|
|
1776
1770
|
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1771
|
+
• **name**: keyof [`FeatureAll`](FeatureAll.md)
|
|
1772
|
+
|
|
1773
|
+
A name or alias of a predefined feature.
|
|
1780
1774
|
|
|
1781
1775
|
#### Returns
|
|
1782
1776
|
|
|
1783
1777
|
`string`
|
|
1784
1778
|
|
|
1785
|
-
|
|
1779
|
+
#### Remarks
|
|
1786
1780
|
|
|
1787
1781
|
Different names or aliases of the same feature may have different descriptions.
|
|
1788
1782
|
|
|
1789
|
-
|
|
1783
|
+
#### Throws
|
|
1790
1784
|
|
|
1791
1785
|
An error is thrown if the specified argument is not a name or alias of a predefined feature.
|