empty method in Javascript a simple function that define the argument is empty. just like PHP empty method. demo test based on mocha.js.