Added jshint test and tidied code to pass the test

This commit is contained in:
Martin Donnelly 2016-03-16 10:12:39 +00:00
parent cdd1af6eaf
commit 290f7aca21

View File

@ -272,6 +272,11 @@ var VALIDATE = new function() {
return telnum;
};
/**
*
* @param params
* @returns {string}
*/
this.validatePhone = function(params) {
var uk = params.uk || false;
var v = params.number;