5 ms·
I recently wasted time figuring out why my code was getting executed twice and found this out the hard way. I think this is a particularly good example of overr
by tmpfs 4y ago
I recently wasted time figuring out why my code was getting executed twice and found this out the hard way. I think this is a particularly good example of overreach by Javascript developers and at the very least a console.warn could have notified me of this. I just removed strict mode as i think this is an awful side effect to implement. In my case, instead of helping me find bugs it had me hunting non-existent bugs, sigh.