Problem
What is domain of $f$ when:
$$ f(x)=\frac{|x^2-4|}{x^2-4} $$
Map $f: X \rightarrow Y$ where $X$ is domain (all values $x \in \mathbb{R}$ that are defined by $f$) of $f$ and $Y$ is codomain (all values of $f(x)$).
Is it possible to extend $\forall x \not\in X$ in a way that $f$ is continuous ?
Attempt to solve
I made plot of $f(x)$
It is quite easily visible that
$$ \lim_{x \rightarrow -2} f(x)= \text{"non existent two sided limit"} $$ $$ \lim_{x \rightarrow 2} f(x)=\text{"non existent two sided limit"} $$
I can define $X$
$$ x^2-4 \neq 0 $$ $$ x^2 \neq 4 \iff x \neq \pm 2 $$
which makes $X = \mathbb{R}\setminus \{-2,2\}$
$$ f: \mathbb{R}\setminus \{-2,2\} \rightarrow \{-1,1\} $$
Is it possible to extend $\forall x \not\in X = \{-2,2\}$ in way that $f$ would become continuous ? I would say this is not possible if I can only redefine values for $f(-2)$ and $f(2)$. In order $f$ to be continuous is to redefine $f(x)$ when $x\in[-2,2]$ or $x\in(-\infty,2]\wedge x\in[2,\infty)$. Since I could only redefine $f(x)$ when $x\in \{-2,2\}$ this is not possible.

Yes, you are right, for it to be continuous, we require $$\lim_{x \to 2^-}f(x)= \lim_{x \to 2^-}f(x)=f(x)$$
but if we are only allowed to define $f(2)$ and $f(-2)$ while keeping the other value as it is then this can't be done since
$$\lim_{x \to 2^-}f(x)=-1 \ne 1 = \lim_{x \to 2^+}f(x)$$