He said it's "one of the worst." And even people who write JavaScript admit that.
It's also easy to be "one of the worst" when there are only a handful of languages that see widespread use. You only need to be in the bottom 5 of 15 or so languages, but my point is that that may not imply that it's a bad language.
A Software engineer uses always the best tool and not the worst.