Skip to content

Troy Williams - Sprint 1 completed - #43

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

Troy Williams - Sprint 1 completed#43
tdwilliams7 wants to merge 3 commits into
bloominstituteoftechnology:masterfrom
tdwilliams7:master

Conversation

@tdwilliams7

Copy link
Copy Markdown

No description provided.

@ryan-hamblin ryan-hamblin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey Troy! Things are looking really good here. You seem a good grasp on the material. If you an questions or anything you feel like you need extra help on. Feel free to comment here.

One thing I did notice was some semi-colons out of place, and we will be sticklers here at Lambda.

keep it up! I'm always just a DM away.

Comment thread package.json
"version": "1.0.0",
"description":
"* The objective of this challenge is to get you used to answering a few questions about JavaScript that are commonly asked in interviews. * We also have some more reps for you to help hammer in the knowledge you've thus far learned. * Answers to your written questions will be recorded in *Answers.md* * This is to be worked on alone but you can use outside resources. You can *reference* any old code you may have, and the React Documentation, however, please refrain from copying and pasting any of your answers. Try and understand the question and put your responses in your own words. Be as thorough as possible when explaining something. * **Just a friendly Reminder** Don't fret or get anxious about this, this is a no-pressure assessment that is only going to help guide you here in the near future. This is NOT a pass/fail situation. ## Start by forking and cloning this repository. ## Questions - Self Study - You can exercise your Google-Fu for this and any other _Sprint Challenge_ in the future. 1. Describe some of the differences between `.forEach` & `.map`. 2. Name five different Types in JavaScript. A Type is something that can represent data. What is so special about Arrays? 3. What is closure? Can you code out a quick example of a closure? 4. Describe the four rules of the 'this' keyword. No need to provide examples about it this time :)",
"description": "* The objective of this challenge is to get you used to answering a few questions about JavaScript that are commonly asked in interviews. * We also have some more reps for you to help hammer in the knowledge you've thus far learned. * Answers to your written questions will be recorded in *Answers.md* * This is to be worked on alone but you can use outside resources. You can *reference* any old code you may have, and the React Documentation, however, please refrain from copying and pasting any of your answers. Try and understand the question and put your responses in your own words. Be as thorough as possible when explaining something. * **Just a friendly Reminder** Don't fret or get anxious about this, this is a no-pressure assessment that is only going to help guide you here in the near future. This is NOT a pass/fail situation. ## Start by forking and cloning this repository. ## Questions - Self Study - You can exercise your Google-Fu for this and any other _Sprint Challenge_ in the future. 1. Describe some of the differences between `.forEach` & `.map`. 2. Name five different Types in JavaScript. A Type is something that can represent data. What is so special about Arrays? 3. What is closure? Can you code out a quick example of a closure? 4. Describe the four rules of the 'this' keyword. No need to provide examples about it this time :)",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the tip.

Comment thread src/challenges.js
// This only needs to work with arrays.
};
for (let i = 0; i < elements.length; i++){
cb(elements[i], i)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Missing a semi-colon here.

Comment thread src/challenges.js
const checkLeaves = (object) => {
Object.keys(object).forEach((elem) => {
if (tester === undefined && typeof elem !== 'object'){
tester = object[elem]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

missing semi-colon

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