-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skill Sharpening Project by Diandre, Jennifer and Vandhana #264
base: main
Are you sure you want to change the base?
Conversation
Merges all code.
|
||
function rangeEveryOther(min, max) { // return odd numbers | ||
let newrangeEveryOther = [] | ||
for(let i = min; i <= max; i+=2){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice job using the reassignment operator to increase by 2!
@@ -171,7 +211,21 @@ function getFullAddress(person) {} | |||
numbers: [7185550921, 7185558611], | |||
}; | |||
*/ | |||
function getFlatObject(person) {} | |||
function getFlatObject(person) { | |||
const Diandre = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't entirely hardcoded but there is a way more dynamic way to create the flat object. How can you use a for in loop to dynamically create the flat object?
No description provided.