There's an error in instructions of lesson "Iterating Over the Hash"


#1

In the instructions, it say "Iterate over .each key/value pair in the frequencies hash.", which should be "Iterate over .each key/value pair in the frequencies array.".


#2

Actually if you look closely Frequencies is a Ruby Hash not array. Hence the,

frequencies = Hash.new(0)


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.