SillyTavern/public/lib/object-hasown.js

5 lines
138 B
JavaScript

// Polyfill for old Safari versions
if (!Object.hasOwn) {
Object.hasOwn = function (obj, prop) { return obj.hasOwnProperty(prop); }
}