Skip to content

Kelly Manahan - #48

Closed
kellymanahans wants to merge 3 commits into
bloominstituteoftechnology:masterfrom
kellymanahans:master
Closed

Kelly Manahan#48
kellymanahans wants to merge 3 commits into
bloominstituteoftechnology:masterfrom
kellymanahans:master

Conversation

@kellymanahans

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

}, 0);
console.log(ticketPriceTotal);


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 on these!


// let myFunction = function () {};
let myFunction =>{
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Don't forget that a function always has ().

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

Overall good work! Maybe spend some time looking at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions to get a better feel for function syntax.

}
emailFormat = emailFormat.push(item);
});
console.log(wrongEmail)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Does this work for you when you run it?

@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