:cookie: 331 | @kevinkiklee |http://www.freecodecamp.com/kevinkiklee
background-image
in css to the element
@texirv0203 - it was to convert a value that is a number to a string, then split it. That gives you access to an array of the individual digits.
var num = 33767999;
num.toString().split('').forEach(
// you write a function here
);
the function within the .forEach()
method would be able to access the individual elements of the array, and build the hash in an object.