Skip to content

Instantly share code, notes, and snippets.

@TheSavior
Last active August 29, 2015 14:22
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 TheSavior/cd1599f59eb9ea467747 to your computer and use it in GitHub Desktop.
Save TheSavior/cd1599f59eb9ea467747 to your computer and use it in GitHub Desktop.
CommonJSCache
var f1 = require('/usr/local/projects/export_this/function');
var f2 = require('./function'); // Same location, different string parameter
assert(f1 === f2) // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment