Skip to content

Instantly share code, notes, and snippets.

@iMerica iMerica/filter.js
Last active Jul 30, 2018

Embed
What would you like to do?
Work At A Startup Job Filter
const findJobs = (remote, min_salary) => {
return window.TOP_LEVEL_PROPS.companies.filter(
company => company.jobs.filter(
job => ((job.remote_ok === remote) && (job.salary_max >= min_salary))
).length > 0
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.