Files
alfresco-ng2-components/react-app/node_modules/babel-runtime/helpers/temporalRef.js
Mario Romano 29df96a085 react app
2016-04-06 17:52:19 +01:00

11 lines
224 B
JavaScript

"use strict";
exports.__esModule = true;
exports.default = function (val, name, undef) {
if (val === undef) {
throw new ReferenceError(name + " is not defined - temporal dead zone");
} else {
return val;
}
};