Skip to content

Wladimir Fraga#26

Closed
wladimir917 wants to merge 6 commits intobloominstituteoftechnology:masterfrom
wladimir917:master
Closed

Wladimir Fraga#26
wladimir917 wants to merge 6 commits intobloominstituteoftechnology:masterfrom
wladimir917:master

Conversation

@wladimir917
Copy link

@wladimir917 wladimir917 commented Apr 17, 2018

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


console.log("\nChallenge 5 Problem1: Use .filter() \n");
console.log(biggerDonations);

Choose a reason for hiding this comment

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

Looks great!

console.log(magicCounter.increment());
console.log(magicCounter.decrement());


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

Choose a reason for hiding this comment

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

Looks great!

Copy link

@nphillips78 nphillips78 left a comment

Choose a reason for hiding this comment

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

Good work, Vlad - you're very good at this 😄

@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