asdf-games/node_modules/defined/index.js

6 lines
150 B
JavaScript

module.exports = function () {
for (var i = 0; i < arguments.length; i++) {
if (arguments[i] !== undefined) return arguments[i];
}
};