Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.18 KB

File metadata and controls

29 lines (25 loc) · 1.18 KB

Sculpture Lengths

This project processes sculptureList from data.js and builds sculptureListLengths,
an array of objects where each value represents the string length of the corresponding field.


sculptureListLengths Object Content:

console.log(sculptureListLengths);

Yields:

[
  { "name": 26, "artist": 20, "description": 198, "url": 31, "alt": 90 },
  { "name": 17, "artist": 16, "description": 188, "url": 32, "alt": 91 },
  { "name": 16, "artist": 19, "description": 272, "url": 31, "alt": 98 },
  { "name": 4, "artist": 14, "description": 169, "url": 32, "alt": 96 },
  { "name": 9, "artist": 20, "description": 209, "url": 32, "alt": 98 },
  { "name": 13, "artist": 16, "description": 235, "url": 32, "alt": 90 },
  { "name": 9, "artist": 21, "description": 113, "url": 32, "alt": 94 },
  { "name": 11, "artist": 18, "description": 254, "url": 32, "alt": 95 },
  { "name": 15, "artist": 14, "description": 229, "url": 31, "alt": 92 },
  { "name": 15, "artist": 15, "description": 332, "url": 32, "alt": 86 },
  { "name": 7, "artist": 15, "description": 272, "url": 32, "alt": 98 },
  { "name": 6, "artist": 10, "description": 78, "url": 31, "alt": 92 }
]