iwmlib/lib/3rdparty/systemjs/babel-helpers/newArrowCheck.js

5 lines
155 B
JavaScript
Raw Permalink Normal View History

2019-04-05 10:09:27 +02:00
export default (function (innerThis, boundThis) {
if (innerThis !== boundThis) {
throw new TypeError("Cannot instantiate an arrow function");
}
});