I read about this a while back if I remember correctly it's because people kept turning it off accidentally and breaking the Internet and blaming Firefox.
Re:I Turned Off JavaScript for a Week
by AwesomeBean on Thursday November 19, 2015 @07:12AM
(#10594302)
Just download NoScript - it's better than turning JavaScript off and on all the time anyway.
But it can still be disabled in `about:config` > `javascript.enabled`
I used and loved Firefox since more than 10 years so far, but can't truly understand some decisions they took.