What is the difference between the jsx definition variable result and {result}?

I don"t quite understand this when I have come into contact with react, recently. The following code

state = {
    collapsed: false,
    theme : "dark",
    result: [],
  };

and when I defined it, I found:

const result = this.state.result;

is equivalent to

const {result} = this.state;

what is this principle? is it automatically injected?

Mar.03,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4472b-442f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4472b-442f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?