Learn Java Script Training from the Best Tutors
Search in
At the moment, JavaScript only compares primitive values such as strings by value (by looking at their contents):
> 'ABC' === 'ABC'
true
3.Putting objects into data structures
As objects are compared by identity, it rarely makes sense to put them into (non-weak) ECMAScript data structures such as Maps:
const m = new Map();
m.set({x: 1, y: 4}, 1);
m.set({x: 1, y: 4}, 2);
assert.equal(m.size, 2);
Are you asking (a) “What is it missing to make it all-encompassing?” or are you asking (b) “What is missing to make it as good as other languages?”
If you’re asking (a), then every programming language has a significant lack of features, but most of those are omitted deliberately to ensure that the language does not become an unwieldy behemoth.
If you’re asking (b) then you have misunderstood the complaints about JavaScript. It’s not that it’s missing anything. It has too much. It supports ALL paradigms (functional, imperative, declarative, OO, non-OO, etc.) and it is way too forgiving of programmer error (missing semicolons, lack of type declarations, type inference, etc.), and it has libraries and frameworks galore. It is effortless, in Javascript, to write a crapload of jibberish that cannot be debugged or extended because of this.
That’s what everybody seems to be complaining about, including me.
It’s a large battery-powered Swiss Army knife with a hammer, a buzz saw, a pitchfork, and thirty-seven other fold-out blades. And when you build something with Javascript, it shows - the source code looks like it was made with a buzz-saw and pitchfork. We want a few precision tools instead.
View 1 more Answers
Related Questions
Which skills do i require to be an better ui developer?
What is an Array?
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Top 6 Skills Required to Become a Web Designer
Here are the top 6 must have skills for every Web Designer : Technical Skills Web designers undoubtedly require very strong technical skills. They must have hands on using Web designing software and tools, such as Adobe Dreamweaver, Fireworks, Photoshop, Flash etc. In addition to the knowledge of design...
Learn Microsoft Excel
Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...
8 Hottest IT Careers of 2014!
Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...
Why Should you Become an IT Consultant
Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...
Looking for Java Script Training classes?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for Java Script Training Classes are on UrbanPro
The best Tutors for Java Script Training Classes are on UrbanPro