>>936231658 (OP)I'll give you some meta-advice: everyone is going to look at how many jobs posting there are for Java vs. JS, and they're going to tell you to pick the one with the most postings.
That might not be the best strategy.
If you specialize in the language that "has the most postings" then you're probably setting yourself up to have the most competition for every job you ever interview for.
Meanwhile, older languages that people think are "dying" are still in use, and companies are still hiring people to maintain and even extend decades-old code bases.