javascript not empty array not string. Copy if (Array.isArray(array) && array.length) { // array exists and is not empty }.
確定! 回上一頁