File tree Expand file tree Collapse file tree 4 files changed +22
-14
lines changed Expand file tree Collapse file tree 4 files changed +22
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : Object.hasOwn()
2
+ description : The `Object.hasOwn()` static method checks whether an object has a given property. It's a more robust alternative to the `Object.prototype.hasOwnProperty()` method.
3
+ spec : https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.hasown
4
+ compat_features :
5
+ - javascript.builtins.Object.hasOwn
Original file line number Diff line number Diff line change
1
+ # Generated from: object-hasown.yml
2
+ # Do not edit this file by hand. Edit the source file instead!
3
+
4
+ status:
5
+ baseline: high
6
+ baseline_low_date: 2022-03-14
7
+ baseline_high_date: 2024-09-14
8
+ support:
9
+ chrome: "93"
10
+ chrome_android: "93"
11
+ edge: "93"
12
+ firefox: "92"
13
+ firefox_android: "92"
14
+ safari: "15.4"
15
+ safari_ios: "15.4"
16
+ compat_features:
17
+ - javascript.builtins.Object.hasOwn
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ compat_features:
19
19
- javascript.builtins.Object.getOwnPropertyNames
20
20
- javascript.builtins.Object.getOwnPropertySymbols
21
21
- javascript.builtins.Object.getPrototypeOf
22
- - javascript.builtins.Object.hasOwn
23
22
- javascript.builtins.Object.hasOwnProperty
24
23
- javascript.builtins.Object.is
25
24
- javascript.builtins.Object.isExtensible
Original file line number Diff line number Diff line change @@ -291,16 +291,3 @@ compat_features:
291
291
# safari: "13.1"
292
292
# safari_ios: "13.4"
293
293
- javascript.operators.optional_chaining
294
-
295
- # baseline: high
296
- # baseline_low_date: 2022-03-14
297
- # baseline_high_date: 2024-09-14
298
- # support:
299
- # chrome: "93"
300
- # chrome_android: "93"
301
- # edge: "93"
302
- # firefox: "92"
303
- # firefox_android: "92"
304
- # safari: "15.4"
305
- # safari_ios: "15.4"
306
- - javascript.builtins.Object.hasOwn
You can’t perform that action at this time.
0 commit comments