What is the range of the function y = 2sin x?
A. (Pi)
B. [-2,2]
C. All real numbers
D. 2(pi)