summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js
blob: d6cd8643775c1111581cfe3b9cc7cc0ac234fe1f (plain)
1
2
3
4
5
export default function _newArrowCheck(innerThis, boundThis) {
  if (innerThis !== boundThis) {
    throw new TypeError("Cannot instantiate an arrow function");
  }
}