So I wrote this and it works fine but I am confused on how this is working, So i pass a value onto the parameter "pm". then it runs the for-in loop. so does the value on "pm" assign to the variable firstName in the for in loop?
var list = function(pm)
for(firstName in friends)