One of the basic results of real analysis says that any closed subset of a smooth ($C^\infty$) manifold $M$ is the set of zeros of some map $\lambda\in C^\infty(M;[0,1])$. This result (or some equivalent variations of it) is usually attributed to Hassler Whitney.
Question: exactly where (title of Whitney's paper and page) is this stated?