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

5 lines
155 B
JavaScript
Raw Normal View History

2019-03-21 09:57:27 +01:00
export default (function (innerThis, boundThis) {
if (innerThis !== boundThis) {
throw new TypeError("Cannot instantiate an arrow function");
}
});