I don't know where that came from but please don't make things up that look like quotes when they're not, and especially please don't use that as a snark trope.
(If someone said that and you're actually quoting them and they edited it out, that's of course different.)
Absolutely true that languages are built to fulfill specific roles and have associated trade-offs. I think you answered your own question - JavaScript's strengths are being very widespread in current software development and having a minimal syntax/type system. IMO it can be a good language for MVPs/POCs and serve as a higher form of pseudocode. Perhaps the author's choice of JS as a way of reaching the widest possible audience and focusing on the concepts more than the implementation details.
A relatively recent personal example: in working through some DSL and parser combinator examples in Rust, sometimes I get too distracted with lifetimes, annotations to deal with deeply recursive functions, etc. and just search for examples in a different language that allow me to focus on the concepts I'm trying to learn.
>Then I see JavaScript and Node.js
What's wrong with this? The underlying architectural patterns and abstractions you should be able to pick out and apply to your technology of choice.