MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/30hyan/airbnb_javascript_style_guide_a_mostly_reasonable/cpssg3g
r/javascript • u/mrkipling • Mar 27 '15
158 comments sorted by
View all comments
Show parent comments
3
Adding an empty string instead of calling the method that's whole purpose is to return the value cast to a string is idiomatic JavaScript?
1 u/wreckedadvent Yavascript Mar 27 '15 Arguably! Hence why it's in the style guide. :)
1
Arguably! Hence why it's in the style guide. :)
3
u/theillustratedlife Mar 27 '15
Adding an empty string instead of calling the method that's whole purpose is to return the value cast to a string is idiomatic JavaScript?