+ 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);
3 Answers