Nordstrom interview question

pass a function param to a method