0

![information is clearly there, but not being found][1]

Does anyone have any idea what I can do to my code to make this $.each / _.each work? (I'm using both jquery and underscore, either will do)

The Array[0] concerns me. Maybe that is why the .each is getting stepped over.

The two console.log's on either side of the each log the entire object perfectly, but when I break at the each and type "regionedAps" into the console, I get an empty array.

Rick Bross
  • 1,060
  • 3
  • 16
  • 39

1 Answers1

0

You have an array that you are treating like an object. You should make regionedAps an object, then .each will iterate over it properly.

var regionedAps = {};

I don't think you need $.makeArray()

Kevin B
  • 94,570
  • 16
  • 163
  • 180