That's not why. It's the dependency trees that run a dozen layers deep and end up importing "isEven". If you're building a react app odds are good you'll import way more code than you ever write yourself.
And no one should be leaving commented-out code in their app, that's what source control is for.
You say that, but I wouldn't put it past SpaceX to give him a hammer, a piece of wood, and a nail when they want to keep him busy.
"Elon! You did so well! We're going to get to Mars so much faster now! This is going right on the spaceship."
In the real world you don't get obvious bad faith actors in your face shouting nonsense very often, and when you do, you usually walk away from them too. It's not helpful to engage with people who are actively working against cooling down.
Make no sense? They all make sense:
Picture of my cat. Picture of my cat. Picture of my cat. Picture of my cat.