How can I get class name inside class function?
I already try with this.constructor.name, but it is an empty string.
var
Animal = kendo.Class.extend(
{
getClassName:
function
()
{
console.log(???);
//to get Animal
}
});
var
Bird = Animal.extend(
{
getClassName:
function
()
{
console.log(???);
//to get Bird
}
});
I already try with this.constructor.name, but it is an empty string.