I don’t think that has anything to do with FP honestly. I think it’s a combination of package culture, the language making it incredibly easy to write poorly performing code, and the massive scale and cultural/corporate tilt of the JS community resulting in a generally lower quality of developer.