Add Object.hasOwn polyfill
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// Polyfill for old Safari versions
|
||||
if (!Object.hasOwn) {
|
||||
Object.hasOwn = function (obj, prop) { return obj.hasOwnProperty(prop); }
|
||||
}
|
||||
Reference in New Issue
Block a user