Difference between revisions of "MemEOL"
From Desal Wiki
Line 151: | Line 151: | ||
var scoreObject = scoresArrayToObject(scores); //convert from array to object | var scoreObject = scoresArrayToObject(scores); //convert from array to object | ||
//now that we can access the scores by name we can make the additonal calculations for reuse as RO and conversion to UF | //now that we can access the scores by name we can make the additonal calculations for reuse as RO and conversion to UF | ||
− | console.log(scoreObject); | + | for (var property in scoreObject) { |
+ | if (scoreObject.hasOwnProperty(property)) { | ||
+ | console.log(scoreObject[property]); | ||
+ | } | ||
+ | } | ||
Revision as of 08:00, 8 December 2014
Introduction text