Given no other restrictions, what are the domain and range of the following function? f(x)=−x^2+2x−2

Responses
D = {x| x ≤ 1} R = all real numbers
D = all real numbers R = {y| y ≥ 1}
D = {x| x ≥ -1} R = all real numbers
D = all real numbers R = {y| y ≤ -1}

D = {x| x ∈ ℝ} R = {y| y ∈ ℝ}