Javascript String isClassExist()

Description

Javascript String isClassExist()


String.prototype.isClassExist = function() {
 return eval('typeof ' + this) == 'function';
};



PreviousNext

Related