objectDestructuringEmpty.js 127 Bytes Raw Blame History Permalink 1 2 3 export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }