DEV Community

Discussion on: ES6 - A beginners guide - Object and Array Destructuring

Collapse
tanth1993 profile image
tanth1993

nice article. I have a notice of using object destructuring:
when you destructuring methods(which use "this" inside) in obj and call them, "this" will be called in different context.

Collapse
stefanwrightcodes profile image
Stefan Wright Author

I'm not too sure I follow, do you have example of what you mean??