Paracetamol.js💊| #67: Explica este código JavaScript

Explica este código JavaScript

const persona = {
id: 1,
nombre:”Fernando”,
};
persona.nombre = “Pedro”;
console.log(persona.nombre);

A. Pedro

B. Fernando

C. null
D. TypeError

Respuesta en el primer comentario.


This content originally appeared on DEV Community and was authored by DEV Community

Explica este código JavaScript

const persona = {
  id: 1,
  nombre:"Fernando",
};
persona.nombre = "Pedro";
console.log(persona.nombre);
  • A. Pedro
  • B. Fernando
  • C. null
  • D. TypeError

Respuesta en el primer comentario.


This content originally appeared on DEV Community and was authored by DEV Community


Print Share Comment Cite Upload Translate Updates
APA

DEV Community | Sciencx (2022-03-02T02:57:50+00:00) Paracetamol.js💊| #67: Explica este código JavaScript. Retrieved from https://www.scien.cx/2022/03/02/paracetamol-js%f0%9f%92%8a-67-explica-este-codigo-javascript/

MLA
" » Paracetamol.js💊| #67: Explica este código JavaScript." DEV Community | Sciencx - Wednesday March 2, 2022, https://www.scien.cx/2022/03/02/paracetamol-js%f0%9f%92%8a-67-explica-este-codigo-javascript/
HARVARD
DEV Community | Sciencx Wednesday March 2, 2022 » Paracetamol.js💊| #67: Explica este código JavaScript., viewed ,<https://www.scien.cx/2022/03/02/paracetamol-js%f0%9f%92%8a-67-explica-este-codigo-javascript/>
VANCOUVER
DEV Community | Sciencx - » Paracetamol.js💊| #67: Explica este código JavaScript. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/03/02/paracetamol-js%f0%9f%92%8a-67-explica-este-codigo-javascript/
CHICAGO
" » Paracetamol.js💊| #67: Explica este código JavaScript." DEV Community | Sciencx - Accessed . https://www.scien.cx/2022/03/02/paracetamol-js%f0%9f%92%8a-67-explica-este-codigo-javascript/
IEEE
" » Paracetamol.js💊| #67: Explica este código JavaScript." DEV Community | Sciencx [Online]. Available: https://www.scien.cx/2022/03/02/paracetamol-js%f0%9f%92%8a-67-explica-este-codigo-javascript/. [Accessed: ]
rf:citation
» Paracetamol.js💊| #67: Explica este código JavaScript | DEV Community | Sciencx | https://www.scien.cx/2022/03/02/paracetamol-js%f0%9f%92%8a-67-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.

You must be logged in to translate posts. Please log in or register.