Write your answer…

7 answers

I keep coming across the following two misconceptions, on a fairly regular basis!

Arrow functions are bound with their outer context (this)

This one is a fairly common misconception, especially among the folks who make a ES5 to ES6 jump.


Arrow functions bypass the binding process which makes the outer context (this) available inside the arrow function.

JavaScript is not an object oriented programming language

I was surprised, when I first heard this; but this is a popular misconception which is also prevalent among experienced JavaScript developers.


JavaScript doesn't have classical inheritance — where you create instances (objects) out of blueprints (classes); but it has has prototypal inheritance, where instances (objects) inherit from other instances (objects). Everything in JavaScript is an object; and JavaScript is a prototypal-object oriented programming language.

Hashnode is building a friendly and inclusive dev community. Come jump on the bandwagon!

  • 💬 A beginner friendly place

  • 🧠 Stay in the loop and grow your knowledge

  • 🍕 >500K developers share programming wisdom here

  • ❤️ Support the growing dev community!

Register ( 500k+ developers strong 👊)

"Use jQuery" as the answer to EVERY question -- typically by people who don't know enough HTML, CSS, or even JavaScript to be offering their opinion on the topic.

High Five1
  1. JS can do everything. Literally, I have heard people say that. I have seen people write some simple functions which can be easily done in Java, being written in JS which is not only big, but clumsy.
  2. JS is front-end version of Java. I mean yeah, the name Javascript is misleading, but even few experienced developers say the same.
  3. JS is not secure and vulnerable!

These 3 are most common one's I can recollect!

Show all replies

Doing business related stuff in JS is crazy and I always send my data to backend for such things. And before I send it to Payment Gateway, I always calculate again in backend just to make sure as additional layer of security. But just because some dimwits doing such mission critical stuff in JS doesn't mean it is vulnerable. It means HE is stupid. That's what I tried to convey.

Reply to this…

My campus interview for a job at Oracle. In my technical interview, the interviewer read my CV and saw JS projects in it. He asked me, "Do all of you write JS because this is Oracle and JavaScript is by Oracle?" At first I thought he was pulling my leg. He wasn't.

I was so surprised that I wanted to laugh and bash out at him in front of his colleages. But then it was in college so of course I didn't.

I still cringe when I think about that day. 😂

you can use it for everything :) .... which is not wrong but the question is ... should you use it for everything ? you can write homepages in C as well ... I wouldn't recommend it though.

Load more responses