How Can I Check If An Object Is An Array in JS?

preview_player
Показать описание
How Can I Check If An Object Is An Array in JS

Use the Array. isArray() Method
You can use the JavaScript Array. isArray() method to check whether an object (or a variable) is an array or not. This method returns true if the value is an array; otherwise returns false . ⬇️
Рекомендации по теме
visit shbcf.ru