Jordan has a mystery number represented by the variable y. If he subtracts 2 from this number, the result is equal to 10. This situation can be expressed with the equation:
$$y - 2 = 10$$
What is the value of y?