www_hero/node_modules/defined/index.js

6 lines
150 B
JavaScript
Raw Normal View History

2024-05-03 04:39:20 +00:00
module.exports = function () {
for (var i = 0; i < arguments.length; i++) {
if (arguments[i] !== undefined) return arguments[i];
}
};