5 lines
No EOL
160 B
JavaScript
5 lines
No EOL
160 B
JavaScript
function _objectDestructuringEmpty(obj) {
|
|
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
}
|
|
|
|
module.exports = _objectDestructuringEmpty; |