This content originally appeared on DEV Community and was authored by Cristian Fernando
Explica este código JavaScript
const profesores = ["Oscar", "Nico", "Freddy", "Christian", "Angela"];
console.log(profesores.at(1)); //?
console.log(profesores.at(-1)); //?
console.log(profesores.at(10)); //?
console.log(profesores.at(3.8)); //?
console.log(profesores.at(-3.3)); //?
A. Nico Angela undefined Christian Freddy
B. Oscar undefined undefined Freddy undefined
C. Nico SyntaxError null Christian SyntaxError
D. Nico null undefined undefiend null
Respuesta en el primer comentario.
This content originally appeared on DEV Community and was authored by Cristian Fernando
Cristian Fernando | Sciencx (2022-04-02T15:37:53+00:00) Paracetamol.js💊| #90: Explica este código JavaScript. Retrieved from https://www.scien.cx/2022/04/02/paracetamol-js%f0%9f%92%8a-90-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.