Skip to content

Javascript-II - #1

Merged
divbySeptember merged 4 commits into
masterfrom
anthony-rende
Jun 12, 2019
Merged

Javascript-II#1
divbySeptember merged 4 commits into
masterfrom
anthony-rende

Conversation

@anthonyrende

@anthonyrende anthonyrende commented Jun 11, 2019

Copy link
Copy Markdown
Owner

MVP + 1 stretch afterhours

@divbySeptember divbySeptember left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good job, I think you should look into away of simplifying your process

// ==== Challenge 2: Use .map() ====
// The event director needs to have all the runner's first names converted to uppercase because the director BECAME DRUNK WITH POWER. Convert each first name into all caps and log the result
let allCaps = [];
console.log(allCaps);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

use const until you can't keep that in mind

Comment thread assignments/callbacks.js
// Pass true to the callback if it is, otherwise pass false.
}
const checks = () => {
for (let i = 0; i < list.length; i++) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

how can you convert this into es6 instead of using for loops

Comment thread assignments/closure.js
}
console.log('test', x);
return closureInner;
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

good job on the closure

@divbySeptember
divbySeptember merged commit db5779a into master Jun 12, 2019
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