SillyTavern/public/lib/object-hasown.js
2023-12-10 23:28:00 +02:00

5 lines
138 B
JavaScript

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