Which programming code is more complex?

Hello Everyone, I am learning javascript to get a job but my friend was suggested to me go with a typescript profile because its open-source programming language most suited for large applications and TypeScript developers are paid an average salary of $148,000 per year whereas JS developers are typically paid around $110,000 per year. I can also check some blogs like this but can anyone clear this point which one is better for future points of view typescript or javascript?

Hi @Adisharma,
Because typescript is a super-set of javascript, you will need to know both in order to use it productively.

I find that this also means that most tutorials and courses for typescript will assume JS knowledge and focus only on the differences.

So I recommend doing a bit of both, starting with JS. That way if you run into stuff you don’t know yet in TS, you can lean the relevant JS before continuing

2 Likes