X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Fbabel-runtime%2Fhelpers%2FnewArrowCheck.js;fp=node_modules%2Fbabel-runtime%2Fhelpers%2FnewArrowCheck.js;h=c15ee5c3b2a97327e0940c356b87b09a2bca9136;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/babel-runtime/helpers/newArrowCheck.js b/node_modules/babel-runtime/helpers/newArrowCheck.js new file mode 100644 index 000000000..c15ee5c3b --- /dev/null +++ b/node_modules/babel-runtime/helpers/newArrowCheck.js @@ -0,0 +1,9 @@ +"use strict"; + +exports.__esModule = true; + +exports.default = function (innerThis, boundThis) { + if (innerThis !== boundThis) { + throw new TypeError("Cannot instantiate an arrow function"); + } +}; \ No newline at end of file