-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Ashwin Sundararajan - Completed all challenges #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| }), | ||
| {} | ||
| ); | ||
| console.log(shirtOrders); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these are really cool. I love that you showed off some of the cool things we can do with ES6 syntax. Reduce is crazy powerful and there are so many different ways that it is used and implemented. It's pretty crazy. Awesome job here.
| console.log(someone.getFirstName()); | ||
| someone.setLastName("Smith"); | ||
| console.log(someone.getFullName()); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Phenomenal example of closure here.
| batman.setFirstName("Thomas"); | ||
| console.log(batman.getFullName()); | ||
| // Again the important point here is that only batman can change his name | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see you had some fun with this.
|
All of this looks great. You are doing such a good job and its very clear that you have a firm grasp on everything we have covered so far. Keep it up. |
CS 12 - Javascript II