-
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 - Ian Schwarzenberg #12
base: master
Are you sure you want to change the base?
HW3 - Ian Schwarzenberg #12
Conversation
|
||
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); //_.difference shows only the games that are not duplicated in either array (in other words, only the games that Ross and Nathan own on their own but not in common) |
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.
one difference
alone is insufficient because it checks only one list against the other in one direction - it wouldn't capture games that only nathan owned in this case.
@@ -26,8 +26,25 @@ | |||
Start code | |||
|
|||
===================== */ | |||
|
|||
|
|||
//BASICALLY OBTAINED FROM https://stackoverflow.com/questions/13845437/from-1-to-100-print-ping-if-multiple-of-3-pong-if-multiple-of-5-or-else-p: |
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.
It is fine, so long as you understand the results!
@@ -98,7 +109,13 @@ | |||
|
|||
===================== */ | |||
|
|||
var makeAMarker = (obj) => { //"obj" is the user input, in this case "obj" will be dataFiltered |
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.
I appreciate all of your comments. This is helpful
|
||
for (var i=0; i <dataFiltered.length; i = i+1) { | ||
makeAMarker(dataFiltered[i]).addTo(map) //Uses the makeAMarker function created above to add the points to the map | ||
} |
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.
You did not attempt to "clean" the dirty data file. That is the really challenging part about this lab (and the main reason for my request for cleanup)
No description provided.