Skip to content

Conversation

@jesuisYves
Copy link

The current implementation of 3-class doesn't allow creating more than 1 instance and throws the following error in such case:

TypeError: Cannot redefine property: name

The reason is that Object.defineProperty defines properties directly for Logable.prototype instead of the instance being processed.

7-pool references to the name of the variable from the previous commit that has been changed. Therefore throws an error:

ReferenceError: arrays is not defined

The current implementation doesn't allow creating more than 1 instance and throws the following error in such case:
``` 
TypeError: Cannot redefine property: name
```

The reason is that `Object.defineProperty` defines properties directly for `Logable.prototype` instead of the instance being processed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant