pull/300/merge
Priyanshu Garg 7 months ago committed by GitHub
commit 69ee45b9cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3187,7 +3187,7 @@ Destructuring function parameter
```js
const rectangle = { width: 20, height: 10 }
const calcualteArea = ({ width, height }) => width * height
const calculatePerimeter = ({ width, height } = 2 * (width + height))
const calculatePerimeter = ({ width, height }) => 2 * (width + height)
```
#### Exercises

Loading…
Cancel
Save