Skip to content

Anne Courtney - #12

Closed
annecourtney wants to merge 5 commits into
bloominstituteoftechnology:masterfrom
annecourtney:master
Closed

Anne Courtney#12
annecourtney wants to merge 5 commits into
bloominstituteoftechnology:masterfrom
annecourtney:master

Conversation

@annecourtney

@annecourtney annecourtney commented Apr 17, 2018

Copy link
Copy Markdown

JavaScript II

Function Conversion

Convert the ES5 syntax into ES6 arrow syntax

  • myFunction
  • anotherFunction
  • add
  • subtract
  • triple

Array Methods

  • Challenge 1: Use .forEach()
  • Challenge 2: Use .map()
  • Challenge 3: Use .filter()
  • Challenge 4: Use .reduce()
  • (1/3) Challenge 5: Be Creative
  • (2/3) Challenge 5: Be Creative
  • (3/3) Challenge 5: Be Creative

Closures

  • Challenge 1: Write your own closure
  • Challenge 2: Create a counter function
  • Challenge 3: Create a counter function with an object that can increment or decrement

Good Habits

  • Pull Request title is your first and last name (add any notes in the comment field)
  • Code has been committed regularly
  • Commit comments are informative
  • Code is organized in a logical way

// Problem 3 No newline at end of file
});
console.log(comp);
console.log(comp.length); No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

Comment thread assignments/closure.js
console.log(newCount.increment());
console.log(newCount.increment());
console.log(newCount.decrement());
console.log(newCount.decrement());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

const triple = exampleArray.map((num) => {
return num *3;
});
console.log(triple); No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic.

@nphillips78 nphillips78 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! This assignment covered a lot of concepts and it looks like you've got a good grasp. Keep it up!

@mixelpixel mixelpixel closed this May 21, 2018
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.

3 participants