|
an object is like a row of a spreadsheet, the header row of a spreadsheet is like a class or constructor.
if i want a playlist, it would be nice to be able to sort by year, title, artist, etc.
in js, each playlist item would be an object, and the list itself is an array (if you needed one). arrays are just objects that use 1, 2, and 3 instead of a, b, and c.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.6% IE9:9.8% IE10:10%
|