Skip to content
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

HW4- Jiazuo Zhang #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JZZhang04
Copy link

No description provided.


/* =====================
Given this already defined function, define fizzbuzzArray so that, when mapped
over, it will equal ['fizz', 'buzz', 'fizzbuzz'];
===================== */
var fizzbuzzArray = [];
var fizzbuzzArray = [3,5,""];
Copy link
Member

Choose a reason for hiding this comment

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

Unexpectedly works. +1

Fill out this function definition
===================== */
var return_list = [];//set criteria
_.each(myData, function(record) {
Copy link
Member

Choose a reason for hiding this comment

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

I am able to plot a couple of points, so this seems to be a success, but can you help me understand what you are doing here? (just explain the goal with these filters)

Thanks.

Copy link
Author

Choose a reason for hiding this comment

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

Sorry just saw this...here I'm selecting records that happened in District 1, and enable the user to choose the category and PSA between the maximum and minimum fields.
The console.log() s are just used to see if I filtered the records correctly.

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