Let $\delta(x)$ denote a Dirac Delta function on $R$.
Then, I know that $$\delta(x) = 0 \text{ if } x \neq 0$$ and
$$\int_R \delta(x) f(x) dx = f(0)$$
Then, since $\delta(x)$ is zero everywhere except at $0$, it seems to me that
$$\int_{(-\epsilon, \epsilon)} \delta(x) f(x) dx = f(0)$$
for any $\epsilon >0$, but since $\delta$ is not a "function", how does one jusfity this?