TL;DR. To check if an array has elements (not empty): if (elements.length) . Suppose we have a JS array or NodeList (for example using ...
確定! 回上一頁