r/javascript • • Sep 12 '16

JavaScript Standard Style Guide

https://github.com/feross/standard
0 Upvotes

29 comments sorted by

View all comments

16

u/MoTTs_ Sep 12 '16

Space after function name

function name (arg) {  
  // ...  
}

When and how did that become a thing?

6

u/_HlTLER_ Stackoverflow searcher Sep 12 '16

It's like writing a math function as f (x) instead of f(x). It's just off-putting.