hexo/node_modules/core-js/modules/_defined.js

6 lines
162 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
// 7.2.1 RequireObjectCoercible(argument)
module.exports = function (it) {
if (it == undefined) throw TypeError("Can't call method on " + it);
return it;
};