Skip to content

completed javascript assignment 6#6

Open
PrashantSalave wants to merge 2 commits into
mainfrom
assignment/ps/js06
Open

completed javascript assignment 6#6
PrashantSalave wants to merge 2 commits into
mainfrom
assignment/ps/js06

Conversation

@PrashantSalave

Copy link
Copy Markdown
Owner

No description provided.

Comment thread Question1.js
let reqEmployees = employeeDetails.filter((emp) => emp.first_name === name);
return reqEmployees;
};

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this function will return emp object if name exactly matches the emp.first_name, what we want is emp array where first_name field includes that string.

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