https://thepracticaldev.s3.amazonaws.com/i/yhyl6hjezy5ctrjqzetm.png
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Imran Shaik -
Sergi Mamedov -
Sergi Mamedov -
Josh Altons -
Top comments (1)
If you want to destructure BUILDING to get room2, you could do this:
The first two commas skip over the first two objects inside your array. Then you just destructure objects until you get to the value you want to use.