Skip to content

Instantly share code, notes, and snippets.

@stagas
Created March 17, 2012 11:57
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 stagas/2058045 to your computer and use it in GitHub Desktop.
Save stagas/2058045 to your computer and use it in GitHub Desktop.
test for global leak
module.exports = foo = 'hello'
var a = require('./a')
console.log(a)
console.log(foo)
$ node test
hello
hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment