Skip to content

Instantly share code, notes, and snippets.

@grant
Last active July 22, 2019 16:36
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 grant/563f81e85977bba5c5a27bf135c7b967 to your computer and use it in GitHub Desktop.
Save grant/563f81e85977bba5c5a27bf135c7b967 to your computer and use it in GitHub Desktop.
GCF Debugging Index
/**
* 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