« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/cacheable-object.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/cacheable-object.js b/src/data/cacheable-object.js
index e0703259..3aa3ecf7 100644
--- a/src/data/cacheable-object.js
+++ b/src/data/cacheable-object.js
@@ -186,7 +186,7 @@ export default class CacheableObject {
   }
 
   static hasPropertyDescriptor(property) {
-    return Object.hasOwn(this[CacheableObject.propertyDescriptors], property);
+    return property in this[CacheableObject.propertyDescriptors];
   }
 
   static cacheAllExposedProperties(obj) {