DEV Community

loading...

Discussion on: Object Destructuring - but why?

Collapse
tanth1993 profile image
tanth1993

object destructuring is useful. However, you should not use with methods(function in Object) because it will loose context of this

Collapse
christiankozalla profile image
Christian Kozalla Author

Thanks for the heads up!