šŸ¤ššŸ¤ššŸ¤š Why the () with a semicolon (;) at the end are mandatory when destructuring without a declaration ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

šŸ¤ššŸ¤ššŸ¤š Why the () with a semicolon (;) at the end are mandatory when destructuring without a declaration ?

NB: I am talking about JavaScript. This is an example for what I am talking about: let {a, b} = {a: 'Hello ', b: 'Jack'}; console.log(a + b);

13th May 2021, 9:14 PM
Nacereddine Drici
Nacereddine Drici - avatar
2 Respostas
0
Mirielle[ Left SL ] I am talking about JS.
17th May 2021, 4:22 PM
Nacereddine Drici
Nacereddine Drici - avatar