iwmlib/lib/3rdparty/systemjs/babel-helpers/objectDestructuringEmpty.js
2019-04-05 10:09:27 +02:00

3 lines
108 B
JavaScript

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