Actually empty statements in js can have some legitimate use cases. For example, to prevent undesired behavior in IIFE you sometime want to prefix it with empty statement, like so:
Ah thanks! Figured out when and what sort of undesirable behavior. If we are concatenating two JS files it could definitely cause issues. Hereβs a write up with an example:
Actually empty statements in js can have some legitimate use cases. For example, to prevent undesired behavior in IIFE you sometime want to prefix it with empty statement, like so:
Ah thanks! Figured out when and what sort of undesirable behavior. If we are concatenating two JS files it could definitely cause issues. Hereβs a write up with an example:
mariusschulz.com/articles/disassem...
Sure, and my bad, I should have specified it in the original post!