0
So does a JS object represent a dictionary or a class, with respect to other programming languages?
I am getting similarities with both, even though similarities with classes is very less.
2 ответов
+ 4
I will try my best to answer your question .
so JavaScript is neither of those you asked about. JavaScript is a prototype -based language meaning it does not require classes or instances. It simply has objects.
hope this helps
0
ecmaScript 6 implement classes