'name' is a function, so evaluate it before comparing it