node js if no arguments

JavaScript
let arguments = args.slice(0).join(' ');
if(!arguments) return;
//You don't have to keep "return;", you can return anything, for example, a message
Source

Also in JavaScript: