Chrome dev tools source tab stripping out instances of object destructuring
Clash 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
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.
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