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

6 lines
167 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
// 7.2.1 RequireObjectCoercible(argument)
module.exports = function (it) {
if (it == undefined) throw TypeError("Can't call method on " + it);
return it;
};