This content originally appeared on DEV Community and was authored by Cristian Fernando
Explica el siguiente código JavaScript
Dificultad: Básico
const f = (arr) => {
return arr.find((item) => {
return item >= 10
})
}
console.log(f([4,6,1,15,19,0,100]))
console.log(f([4,6,1,1,9,0,3]))
A. 100
, null
B. [15, 19, 100]
, false
C. true
, false
D. 15
, undefined
Respuesta en el primer comentario.
This content originally appeared on DEV Community and was authored by Cristian Fernando
Cristian Fernando | Sciencx (2022-06-17T14:39:58+00:00) Paracetamol.js💊| #144: Explica este código JavaScript. Retrieved from https://www.scien.cx/2022/06/17/paracetamol-js%f0%9f%92%8a-144-explica-este-codigo-javascript/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.