let { length } = "hello app"
console.log(length) //=> 9
why the output of console.log is 9(it seems like string's length)? Actually, I can't understand the syntax of first line.
let { length } = "hello app"
console.log(length) //=> 9
why the output of console.log is 9(it seems like string's length)? Actually, I can't understand the syntax of first line.