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.

1st Aug 2016, 7:45 AM
Sumitabha Banerjee
Sumitabha Banerjee - avatar
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
2nd Aug 2016, 4:01 PM
Katherine Adjahoe
Katherine Adjahoe - avatar
0
ecmaScript 6 implement classes
26th Aug 2016, 3:21 AM
Oscar Fernandez
Oscar Fernandez - avatar