Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created July 3, 2016 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/ea0a1068c44a3d78b13cd86247edc560 to your computer and use it in GitHub Desktop.
Save chuck0523/ea0a1068c44a3d78b13cd86247edc560 to your computer and use it in GitHub Desktop.
let jobList = [
[0, 'manager', 500, 'Tokyo', 'You have to manage many developers and designers.'],
[1, 'developer', 400, 'Tokyo', 'Requirement is your endless effort to keep learning.'],
[2, 'designer', 300, 'Okinawa', 'Only you have to do is to be capable to use Illustrator and Photoshop.'],
[3, 'senior-designer', 500, 'Okinawa', 'Maybe sometime you have to give advice and feedback to young designers.'],
[4, 'ux-designer', 600, 'Tokyo', 'High ability to consider about users is required.'],
[5, 'customer-support', 300, 'Ishikawa', 'Customers\' voice must come as our first priority.']
]
let jobs = jobList.map((job, id) => {
let newJob = new Job()
newJob.id = `${id}`
newJob.name = job[1]
newJob.salary = `${job[2]}`
newJob.location = `${job[3]}`
newJob.detail = `${job[4]}`
newJob.hasApplied = false
return newJob
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment