Skip to content

Denise Escobar JS 2 Progress#278

Open
DenEscobar wants to merge 4 commits into
bloominstituteoftechnology:masterfrom
DenEscobar:master
Open

Denise Escobar JS 2 Progress#278
DenEscobar wants to merge 4 commits into
bloominstituteoftechnology:masterfrom
DenEscobar:master

Conversation

@DenEscobar

Copy link
Copy Markdown

@DenEscobar DenEscobar changed the title JS 2 Progress Denise Escobar JS 2 Progress Aug 18, 2018

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

Great job with the closures and array methods! I made a small note in the callback file about returning the variable.

Overall, great work Densie! 💯

console.log(runnerinfo)

// Problem 3
// Return how many shirts we will need in each size

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 problem and a very fun and unique solution! 👍

Comment thread assignments/callbacks.js
let cont = false;
for (i = 0; i < list.length; i++) {
if (list[i] === item) {
cont = true

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 to return cont at the end of this for loop.

Comment thread assignments/closure.js
// ==== Challenge 1: Write your own closure ====
// Write a simple closure of your own creation. Keep it simple!
const adding = (x, y) => {
let intro = `If you add ${x} and ${y} it will equal `;

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 job with the closures!

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