Skip to content

Wladimir Fraga - #26

Closed
wladimir917 wants to merge 6 commits into
bloominstituteoftechnology:masterfrom
wladimir917:master
Closed

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

Conversation

@wladimir917

@wladimir917 wladimir917 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


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

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 great!

Comment thread assignments/closure.js
console.log(magicCounter.increment());
console.log(magicCounter.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.

Looks great!

@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.

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