The Home Depot Interview Question

What's a pure function?