Click in order · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects
Nested Destructuring - Syntax
Arrange the elements of nested destructuring: const { vitals: { heartRate } } = report
Items to click
- } = report
- { heartRate }
- const
- { vitals:
Show the answer
Correct order:
- const
- { vitals:
- { heartRate }
- } = report