-
Notifications
You must be signed in to change notification settings - Fork 30
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
HW3 - Buckler #17
base: master
Are you sure you want to change the base?
HW3 - Buckler #17
Conversation
Regarding lab1/part3 - yes. There are some really easy ways to sort of do this, and some much more involved ways to do this really well. This is an extremely good solution:
|
|
||
console.log('Which games are owned by both Ross and Nathan', query7); | ||
|
||
/* ===================== | ||
Which games are exclusive to collections? In other words, only owned by either Ross or Nathan. | ||
===================== */ | ||
|
||
var query8; | ||
var query8 = _.difference(rossGameList, nathanGameList); |
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.
difference
is insufficient here to capture the games that Nathan has that Ross does not have.
} else {n=1}; | ||
temp.push(obj[n], obj[n+1]); | ||
if(typeof obj[n+2] === 'string') { | ||
if(!obj[n+2].includes('stations')) { |
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.
The solution I pointed you earlier ---
function parser(d) { |
Recommendations to streamline the 'cleaning' function I used in Lab1 part 3 (~ line 70). It works well, but seems a little cluncky. Suggestions welcome.