refactor: Use Object.defineProperty with a getter to invalidate #17

Merged
glen merged 1 commits from no_invalid into main 2022-07-22 22:09:18 +00:00

1 Commits

Author SHA1 Message Date
e6699ce642 refactor: Use Object.defineProperty with a getter to invalidate
Rather than setting a dummy function; this avoids anyone ever storing
  a dummy function.

  Resolves #8.
2022-07-22 15:06:56 -07:00