Pregunta de entrevista de The Home Depot

What's a pure function?