Last I checked, Javascript is Turing Complete and has most of the common features you'd find in every other language. Just because it doesn't have OS interaction on the browser side doesn't mean it isn't a general purpose language. Have you ever even heard of Node.js? Have you not seen the wealth of great things implemented in Javascript?
Where does your claim that Javascript is not a general purpose programming language come from is what I'm asking. I can't seem to grok how one could come to that conclusion, which is why your comment doesn't make sense.
Don't get me wrong, Python is a great language as well, but outside of a slightly more preferable syntax, I don't see why you seem to think Javascript is such a bad language.
Javascript (in Node.js 7.9.0) even seems to have better benchmarks performance than Python 3.6.1 [1]
Please elaborate rather than making snide replies.
[1] https://benchmarksgame.alioth.debian.org/u64q/compare.php?la...
Python would have the added advantage that you can go in many different directions from data structures and basics to machine learning, web development or analysis and it probably would come in very handy when collaborating with other students.
Universities that pick javascript for an introduction to programming are making a choice of convenience rather than one that is best for their students.
Well, at least they'll have plenty of bad habits to unlearn later on.