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

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

A.if(i==0)

B.if(i=0)

C.if i==0 then

D.if i=0 then

正确答案是A