You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: week-3/Homework/mandatory/2-exercises/exercise-1/exercise-1.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,5 +16,6 @@ console.log(`Batman is ${firstName}, ${lastName}`);
16
16
The program above will print `Batman is Bruce Wayne`. Notice how we use the `{}` characters since it is an object rather than `[]` which is used when it is an array.
17
17
18
18
# Exercise
19
+
19
20
- What is the syntax to destructure the object `personOne` in exercise-1.js?
20
21
- Update the argument of the function `introduceYourself` to use destructuring on the object that gets passed in.
0 commit comments