objectDestructuringEmpty.js 130 B

123
  1. export default function _objectDestructuringEmpty(obj) {
  2. if (obj == null) throw new TypeError("Cannot destructure undefined");
  3. }