Open lzcdev opened 5 years ago
1.
let { length } = 'hello' console.log(length);
2.
let { length: len } = 'hello' console.log(len); console.log(length);
3.
let { len } = 'hello' console.log(len);
5
ReferenceError: length is not defined
undefined
1.
2.
3.