1
0
Fork 0
easejs/scripts/ex/class.js

15 lines
165 B
JavaScript
Raw Normal View History

2011-03-25 00:08:23 -04:00
/**
* Basic class declaration example
*/
var Dog = Class( 'Dog',
{
'public bark': function()
{
console.log( 'Woof!' );
}
} );
Dog().bark();