Facing a Javascript problem that has to be simple. Going nuts.
I declare and assign a variable as usual: 'let that = this'; When running the code in the Chrome debugger, 'this' is defined and has a value, but 'that' remains undefined. I know that 'this' is fickle in Javascript, but we're speaking the line after the assignment.
Any idea of what would happen? This is in a quite simple event handler, don't see where there could be a trap.
I started using Flow and transpiling JS with Codekit. I have the impression that Chrome debugger has gone a bit unstable since, could it be related?
Many thanks!