Last active
December 3, 2020 17:35
-
-
Save kalepail/971165f9ce4149499abc4b00903a162e to your computer and use it in GitHub Desktop.
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
/* runkit-eval */ | |
const { sum } = require('lodash') | |
try { | |
res.set('Content-Type', 'text/plain') | |
return JSON.stringify( | |
sum([5, 5]) | |
) | |
} catch(err) { | |
console.error(err) | |
} |
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
// Useful for retreiving raw code to include in a client side embed: https://runkit.com/docs/embed | |
const { sum } = require('lodash') | |
try { | |
const total = sum([5, 5]) | |
console.log(total) | |
} | |
catch(err) { | |
console.error(err) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment