2021-01-04 18:02:13 +08:00

3 lines
130 B
JavaScript

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