Skip to content Skip to sidebar Skip to footer
Showing posts with the label Comma

Understanding The Javascript Comma Operator

This article by Angus Croll explains the JavaScript comma operator like this: //(LHE: left hand exp… Read more Understanding The Javascript Comma Operator

What Is The Point Of Wrapping Javascript Statements In Parentheses?

I have discovered that wrapping different statements in parentheses will return the last one: (3489… Read more What Is The Point Of Wrapping Javascript Statements In Parentheses?

Trailing Comma In Javascript Function Call

I'm trying to follow the JS code style defined by Airbnb. The rule on trailing commas for funct… Read more Trailing Comma In Javascript Function Call