Skip to content

Instantly share code, notes, and snippets.

@ruzz311
Created December 1, 2011 14:22
Show Gist options
  • Save ruzz311/1417083 to your computer and use it in GitHub Desktop.
Save ruzz311/1417083 to your computer and use it in GitHub Desktop.
An example of implementing a module
var circle = require( './maths' )
var area = circle.area( 4 );
var circumference = circle.circumference( 4 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment