Or, alternatively, recreate the constructor property it manually: -> Or, alternatively, recreate the constructor property manually:
This commit is contained in:
daGo 2019-01-10 10:36:36 +03:00 committed by GitHub
parent 9e593ccb1f
commit b17f39f2e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,7 @@ Rabbit.prototype.jumps = true
// the default Rabbit.prototype.constructor is preserved // the default Rabbit.prototype.constructor is preserved
``` ```
Or, alternatively, recreate the `constructor` property it manually: Or, alternatively, recreate the `constructor` property manually:
```js ```js
Rabbit.prototype = { Rabbit.prototype = {