mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-26 18:02:21 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
22 lines
No EOL
371 B
JavaScript
22 lines
No EOL
371 B
JavaScript
Call(
|
|
{
|
|
methodA: function()
|
|
{
|
|
this.id = this.createUUID();
|
|
},
|
|
|
|
valueOf: function()
|
|
{
|
|
return this.id;
|
|
},
|
|
|
|
toString: function()
|
|
{
|
|
return this.id;
|
|
}
|
|
});
|
|
|
|
//Simple inheritance model with correct constructor
|
|
function Test() {}
|
|
function Test2() { Test.call(this); }
|
|
Test2.prototype = Object.create(Test.prototype, {constructor: {value: Test2}}); |