・空文字は0
if ('' == 0) { alert('empty string = 0'); }
→結果はalert通る。
・nullは0ではない
if (null == 0) { alert('null = 0'); }
→結果はalert通らない。
・空文字は0
if ('' == 0) { alert('empty string = 0'); }
→結果はalert通る。
・nullは0ではない
if (null == 0) { alert('null = 0'); }
→結果はalert通らない。