1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
node-bhttp/test-leak.coffee

6 lines
148 B
CoffeeScript

firstCode = global.code
require "./"
secondCode = global.code
console.log global.name
console.log "Leaking global.code:", (firstCode != secondCode)