Y
Hacker News
new
|
ask
|
show
|
jobs
by
catch23
5170 days ago
You could use with(){} in js so you don't have to pollute your global namespace and still have pretty code.
1 comments
mistercow
5170 days ago
Hardly seems worth it to invoke that confusing construct when you could just pack them in an object with a short name instead.
link