Replace all values in an object with null. Can be useful to help garbage collection while still shadowing same-named prototype keys.
This module exports one function:
Assigns null
to each enumerable own key of obj
, then returns obj
.
see test/usage.mjs.
- Needs more/better tests and docs.
ISC