单项选择题

varx=2;console.log(x%3);的打印结果是()。

A.0
B.1
C.2
D.3