// Bien function tamany (array) { return array.length } // Regular function tamany2 (array) { let cont = 0 for (const v of array) { cont++ } return cont } // Mal function tamany3 (array) { let p = 0 let i = 0 for (let n = 0; n < array.length; n++) { if (array[n] % 2 == 0) { p++ } else { i++ } } return p + i }