Skip to content

Conversation

@ashwins93
Copy link

CS 12 - Javascript II

@ashwins93 ashwins93 changed the title Ashwin Sundararajan Ashwin Sundararajan - Completed all challenges Jun 26, 2018
}),
{}
);
console.log(shirtOrders);
Copy link

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());

Copy link

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

Copy link

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.

@Nate152
Copy link

Nate152 commented Jun 27, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants