+ 4
JS vs Java classes
Are Java and JS classes the same? Do they work the same way? I understand their purpose in Java, but I don't understand how they can be useful in JS. Thank you for your time 😊
2 Antworten
+ 6
They share some similaritys but there not exactly the same.. once you create an instance of class in java you cant simply add more properties to your object but in javascript you can add and remove them
+ 1
Thanks for your answer