Write your answer…
I keep coming across the following two misconceptions, on a fairly regular basis!
Arrow functions are bound with their outer context (
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.
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 👊)
- 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.
- JS is not secure and vulnerable!
These 3 are most common one's I can recollect!
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.
Don't miss out!
Join the growing dev community
Get started (no password needed)
Or Sign in with: