PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Dis0rders Dox ;)
15 sec ago
Untitled
10 sec ago
Untitled
16 sec ago
Untitled
27 sec ago
Untitled
21 sec ago
Untitled
24 sec ago
.ycm_extra_conf.py
26 sec ago
Untitled
27 sec ago
Untitled
By: a guest on
Apr 18th, 2012
| syntax:
None
| size: 0.19 KB | hits: 10 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
foo1 = require('./foo1'); // note - global from our server
var foo2 = require('./foo2');
foo1('from server.js');
foo2('from server.js');
// this global "foo" leaks from foo1
foo('from server.js');
create a
new version
of this paste
RAW Paste Data
foo1 = require('./foo1'); // note - global from our server var foo2 = require('./foo2'); foo1('from server.js'); foo2('from server.js'); // this global "foo" leaks from foo1 foo('from server.js');