2 ms·
I used to like the style of space padded block statements but not object literals: foo(function() { return {num: 3}; }); I used that a lot when writing co
by runarberg 10y ago
I used to like the style of space padded block statements but not object literals:
foo(function() { return {num: 3}; });
I used that a lot when writing code that used D3. But since arrow functions, I hardly ever use a single line block statements, so this style is obsolete.