The Home Depot interview question

What's a pure function?