They are not the same thing. Sorry but you're wrong. JavaScript didn't had concurrency for a long time (also still it's part of environment not the language itself). But asynchronous code was from the beginning. Please read those Wikipedia Articles and stop sharing misinformation.
Maybe you've found in dictionary that those are synonymous, but not so much in Computer Science. Where things that sounds the same may have different meaning.
I think that you've read this article on MDN EventLoop, that is really confusing, not everything what is on MDN is true, this is community Wiki created by volunteers like WIkipedia. It can have mistakes. And this aricle is a proof. I will report this error immediately.
Note that Event Loop MDN article got updated after my intervention on GitHub. There no more concurrency in that article. You can correct your article now.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just update the artice and title. Or unpablish it. It's really bad to share invalid information.
They are not the same thing. Sorry but you're wrong. JavaScript didn't had concurrency for a long time (also still it's part of environment not the language itself). But asynchronous code was from the beginning. Please read those Wikipedia Articles and stop sharing misinformation.
There are not many languages that have concurency on a language level. And JavaScript is not one of them.
The only langauge I know that has concurency build in is Erlang:
Maybe you've found in dictionary that those are synonymous, but not so much in Computer Science. Where things that sounds the same may have different meaning.
I think that you've read this article on MDN EventLoop, that is really confusing, not everything what is on MDN is true, this is community Wiki created by volunteers like WIkipedia. It can have mistakes. And this aricle is a proof. I will report this error immediately.
Note that Event Loop MDN article got updated after my intervention on GitHub. There no more concurrency in that article. You can correct your article now.