单项选择题

下列JS的判断语句中()是正确的

A.if(i==0)
B.if(i=0)
C.if i==0 then
D.if i=0 then