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

Explica el siguiente código JavaScript

Dificultad: Intermedio

const {length:len} = “hola mundo”
console.log(len)

A. SyntaxError, no se puede desestructurar una cadena
B. 10
C. 9
D. ReferenceError, len is not defined

Re…


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

Explica el siguiente código JavaScript

Dificultad: Intermedio

const {length:len} = "hola mundo"
console.log(len)

A. SyntaxError, no se puede desestructurar una cadena
B. 10
C. 9
D. ReferenceError, len is not defined

Respuesta en el primer comentario.


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


Print Share Comment Cite Upload Translate Updates
APA

Cristian Fernando | Sciencx (2022-06-18T16:42:34+00:00) Paracetamol.js💊| #146: Explica este código JavaScript. Retrieved from https://www.scien.cx/2022/06/18/paracetamol-js%f0%9f%92%8a-146-explica-este-codigo-javascript/

MLA
" » Paracetamol.js💊| #146: Explica este código JavaScript." Cristian Fernando | Sciencx - Saturday June 18, 2022, https://www.scien.cx/2022/06/18/paracetamol-js%f0%9f%92%8a-146-explica-este-codigo-javascript/
HARVARD
Cristian Fernando | Sciencx Saturday June 18, 2022 » Paracetamol.js💊| #146: Explica este código JavaScript., viewed ,<https://www.scien.cx/2022/06/18/paracetamol-js%f0%9f%92%8a-146-explica-este-codigo-javascript/>
VANCOUVER
Cristian Fernando | Sciencx - » Paracetamol.js💊| #146: Explica este código JavaScript. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/06/18/paracetamol-js%f0%9f%92%8a-146-explica-este-codigo-javascript/
CHICAGO
" » Paracetamol.js💊| #146: Explica este código JavaScript." Cristian Fernando | Sciencx - Accessed . https://www.scien.cx/2022/06/18/paracetamol-js%f0%9f%92%8a-146-explica-este-codigo-javascript/
IEEE
" » Paracetamol.js💊| #146: Explica este código JavaScript." Cristian Fernando | Sciencx [Online]. Available: https://www.scien.cx/2022/06/18/paracetamol-js%f0%9f%92%8a-146-explica-este-codigo-javascript/. [Accessed: ]
rf:citation
» Paracetamol.js💊| #146: Explica este código JavaScript | Cristian Fernando | Sciencx | https://www.scien.cx/2022/06/18/paracetamol-js%f0%9f%92%8a-146-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.