Created
February 8, 2017 19:46
-
-
Save donedgardo/0d4aa0569199e264a8c39de41cddc4cf to your computer and use it in GitHub Desktop.
ES6 Article
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
// This is bad | |
function updateFoodTruck(input, currentUser) { | |
return new Promise((resolve, reject) => { | |
// Code Here | |
let foodTruckId = input.foodTruckId; | |
let image = input.image; | |
... and so on :( | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment