Skip to content

Instantly share code, notes, and snippets.

@heat
Created August 20, 2012 18:56
Show Gist options
  • Save heat/3406692 to your computer and use it in GitHub Desktop.
Save heat/3406692 to your computer and use it in GitHub Desktop.
var PI = 3.14
exports.area = function (r) {
return PI * r * r
}
exports.circumference = function (r) {
return 2 * PI * r
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment