It's not JavaScript by itself. It's unsafe coding practices that blend production and development code.
The bug here is in the hot reloading code. It should not be enabled anywhere but on developers' machines.
The bug here is in the hot reloading code. It should not be enabled anywhere but on developers' machines.