Last active
July 30, 2018 06:35
-
-
Save iMerica/de2bff689e082cfa8de13cfa90f7e319 to your computer and use it in GitHub Desktop.
Work At A Startup Job Filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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