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

9th Feb 2019, 10:50 PM
Jerry Okugbe
Jerry Okugbe - avatar
3 Respostas
+ 3
JavaScript is used as behavior of the web
9th Feb 2019, 11:17 PM
Pokerfesh
Pokerfesh - avatar
+ 2
You could have an object song With a title, author, and index of the playlist for example
10th Feb 2019, 12:03 AM
Roel
Roel - avatar
+ 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
10th Feb 2019, 12:06 AM
Roel
Roel - avatar