objectDestructuringEmpty.js 127 B

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