DEV Community

Discussion on: How to think about the JavaScript keyword 'this'

Collapse
greengreens3 profile image
Alex Boutin

In your Method Invocation section, the line
console.log(this.sound) would return an error and should be console.log(this.noise)

Collapse
christinegaraudy profile image
Christine Garaudy Author

Thanks so much for catching that!

Collapse
greengreens3 profile image
Alex Boutin

Glad to help, and a very nice article by the way 😊