1 2 3 4 5
var print = console.log.bind(console); function foo(x) { var twice = x * 2; print('Foo:', twice); }