« get me outta code hell

cacheable-object: define properties on symbol, allow symbol props - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/unit
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-04 18:06:33 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-05-01 07:06:04 -0300
commit9466ed326cf6d36cbfa411ea5b8ef690c63b0c9c (patch)
treec9c10ef08363e432f403749b4a0ddac038837998 /test/unit
parente904989c762a761227a1e6d7e67d1cfffa264978 (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 'test/unit')
0 files changed, 0 insertions, 0 deletions