|| and && in js

In js logical operations, 0, "", null, false, undefined, NaN will be judged as false, and others will be true;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325428007&siteId=291194637
js