Fix prototype reference in singleton example
Prototype is only accessible on a constructor function. In case of classes, constructor function is accessible via a declared class name.
Showing
Please register or sign in to comment
Prototype is only accessible on a constructor function. In case of classes, constructor function is accessible via a declared class name.