Array.isArray(value) ... If you don't have time to read the entire post, here's a good way to detect an array in JavaScript: just use Array.
確定! 回上一頁