The work function is given per mole; think of this as the energy of a mole of electrons - divide by Avogadro's number, then convert to the corresponding wavelength of light (I reckon the light source would cause an electron to be emitted, by the way).