Last active
July 22, 2019 16:36
-
-
Save grant/563f81e85977bba5c5a27bf135c7b967 to your computer and use it in GitHub Desktop.
GCF Debugging Index
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
/** | |
* Returns a list of Google APIs and the link to the API's docs. | |
* @param {Express.Request} req The API request. | |
* @param {Express.Response} res The API response. | |
*/ | |
exports.listGoogleAPIs = async (req, res) => { | |
let sum = 0; | |
for (let i = 0; i < 10; ++i) { | |
sum += i; | |
} | |
res.send({ sum }); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment