Instantly share code, notes, and snippets.

@TheSavior /CommonJSCache.js Secret
Last active Aug 29, 2015

Embed
What would you like to do?
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