hexo/node_modules/babel-runtime/helpers/temporalRef.js

11 lines
234 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
"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;
}
2023-09-25 15:58:56 +08:00
};