0
In real world, what is JavaScript Objects used for?
As a beginner, I've been learning about JS Objects. But I haven't seen what I should use it for in website
3 Respostas
+ 3
JavaScript is used as behavior of the web
+ 2
You could have an object song
With a title, author, and index of the playlist for example
+ 2
Objects can be used if you have an amount of things with the same kind of properties such as age, amount, author, duration, index, length, price, rating, title etc. to be able to find them more easy, store them more easy and sort them on certain properties such as price or something else