asdf-games/node_modules/defined/index.js

6 lines
150 B
JavaScript
Raw Normal View History

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