I my case, I have a class, say
var Validator = function (...) {
...
};
Validator.prototype.validate = function(){...}
Now as the validate function is so important, I want to change the usage validator.validate(...) into validator(...), here validator is an instance of Validator.
Is it possible and how to make it?