easyappointments/data/scripts/jsdoc/test/fixtures/objectpropertykeys.js
2013-05-20 17:21:58 +00:00

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}});