imparative array
type of array
// Imparetive Way to solution
const arr = [1, 2, 3, null, false, 4, 5, "", "test", 6, 7];
let count = 0;
for (let i = 0; i < arr.length; i++) { for (let j = i; j < arr.length - 1; j++) { if (!arr[j] || typeof arr[j] !== "number") { arr[...
javascript-tutorial.hashnode.dev1 min read