5 lines
84 B
JavaScript
5 lines
84 B
JavaScript
function Unit()
|
|
{
|
|
this.example = "unknown";
|
|
this.name = this.constructor.name;
|
|
} |