⭐ Write a JavaScript function to check whether the given an input is an array or not. There are two ways : 1) Array.isArray() function checkArray(input){ return Array.isArray(input); } console.log(1); // false console.log([]); // tr...
harshaldongaredoc.com6 min read
No responses yet.