jsClass by Ariel Flesler
The following logs will show the results of the code. Check the source to see all the extensions in action.
I'm a small barn
I'm a singleton, and my id is: foo_1
my id is: heir_8
I'm a car and I'm red
abstract classes cannot be instantiated
My secret key is baz
A class failed to implement the method "remove".
peter is a 42 years old male
you cannot set a new key!!
my key is: a12ln23as
The Adams family has 8 members.
I have a name already!!
I'm a robot and my name is: R2D2