Comment Re:That's an antipattern (Score 1) 575
And getting back to JavaScript, let's consider your own examples. A for-loop isn't the same concept in JavaScript as in C and C++ (until recently, at least, or unless you look from a very high level at what the C-style for loop is really doing). The object system in C++ works completely differently to the object system in JS. The features for manipulating functions in C and C++ are far less expressive than those in JS. Variables and scope work completely differently in JS, which in turn gives rise to some very important idioms that are unlike anything in C or C++. And of course the type system itself has a completely different flavour in JS from the C and C++ world, so your types and declarations do too. But apart from being wrong about every single example you gave, sure, JavaScript is just like C and C++.
Christ Almighty, don't be such a douche if you want people to appreciate your point. You just mocked the OP, who posted a valid - and I suspect common - point of view, while providing nothing but a laundry list of vague, unverifiable comparisons. I don't doubt you know what you're talking about, but dispose of the mocking tone and add some meat to your argument