DEV Community

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

tanth1993 profile image

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.

stefanwrightcodes profile image
Stefan Wright Author

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