diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-04 18:06:33 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-24 11:53:15 -0300 |
commit | f235520de72c44a78066247e548145cf53713792 (patch) | |
tree | 1ec190e3b20cf9ccc0eeed3128b065901e2a3036 /src/write/common-templates.js | |
parent | f0a6720198c1bc22d25db929cbca2871c289f678 (diff) |
cacheable-object: define properties on symbol, allow symbol props
This commit really does two separate things: * Move the definition for `propertyDescriptors` from that string key into `Symbol.for('CacheableObject.propertyDescriptors')` * Allow and support descriptors for key-based properties, by iterating over Reflect.ownKeys() instead of Object.entries()
Diffstat (limited to 'src/write/common-templates.js')
0 files changed, 0 insertions, 0 deletions