Last active
March 23, 2017 12:40
-
-
Save Reinoptland/acdb474fdb2243308e3bb322c01a469a to your computer and use it in GitHub Desktop.
giveTimeEstimate
This file contains hidden or 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
| function giveTimeEstimate(task, experience) { | |
| let lookPro | |
| if (experience.includes(task)) { | |
| lookPro = true; | |
| return timeEstimate(task); | |
| } | |
| lookPro = false; | |
| throw new Error('I don\'t know how long this will take'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment