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