While finding the limit of the function $g(x)$, both left and right hand side limits are equal at x=a but at the point $g(a)$ is different. In this case, whether the limit exists?
For example,
$$g(x)= \begin{cases}2x+2 & \text{ if } x<2,\\ 8 &\text{ if } x=2 ,\\ 4x-2&\text{ if } x>2.\end{cases}$$
Here, both left and right side limit exists and equal to $6$, however, $g(2)=8$. In this case, what is $\displaystyle\lim_{x\rightarrow 2} g(x) = ?$. Is it does not exist or any specific value?