Chrome dev tools source tab stripping out instances of object destructuring

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Chrome dev tools source tab stripping out instances of object destructuring



I have a block of code that's being using on the front end that has a section


if (changed.firstName || changed.lastName)
const firstName, lastName = ctx;
debugger;



but whenever the debugger gets triggered the const firstName, lastName = ctx line isn't available.


const firstName, lastName = ctx





What do you mean it isn't available, or stripping out? If you mean you wanted to step into that line you would need the debugger line above it. As for stripping out, I see the line in either case in the sources tab
– Patrick Evans
Aug 8 at 3:12










By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard