newArrowCheck.js 155 B

12345
  1. export default (function (innerThis, boundThis) {
  2. if (innerThis !== boundThis) {
  3. throw new TypeError("Cannot instantiate an arrow function");
  4. }
  5. });