I've never worked with a Javascript developer who was responsible in any way for their employer's adtech and dark UX patterns strategy. In my experience, those decisions are always made by PMs and approved by the board.
Your comment seems like an opportunistic attack on a type of developer you don't personally like rather than something that is rooted in reality.