Minor grammar fixes (#36643)

* Minor grammar fix
This commit is contained in:
Lauren Van Sloun
2019-08-20 09:36:22 -04:00
committed by Oliver Eyton-Williams
parent 38badd6259
commit 4507a6b254
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ title: Use Destructuring Assignment to Pass an Object as a Function's Parameters
---
## Problem Explanation
You could pass the entire object, and then pick the specific attributes you want by using the `.` operator. But ES6 offers a more elegant option!
You could pass the entire object and then pick the specific attributes you want by using the `.` operator, but ES6 offers a more elegant option!
---
@@ -14,7 +14,7 @@ You could pass the entire object, and then pick the specific attributes you want
### Hint 1
Get rid of the `stats`, and see if you can destructure it. We need the `max` and `min` of `stats`.
Get rid of the `stats` and see if you can destructure it. We need the `max` and `min` of `stats`.