3 ms·
You could use with(){} in js so you don't have to pollute your global namespace and still have pretty code.
by catch23 14y ago
You could use with(){} in js so you don't have to pollute your global namespace and still have pretty code.
- mistercow 14y agoHardly seems worth it to invoke that confusing construct when you could just pack them in an object with a short name instead.