feat: add js comma operator content (#1829)
parent
1c234236f5
commit
8eced490ba
1 changed files with 7 additions and 1 deletions
@ -1 +1,7 @@ |
||||
# Comma operators |
||||
# Comma operators |
||||
|
||||
The comma operator (`,`) evaluates each of its operands (from left to right) and returns the value of the last operand. This lets you create a compound expression in which multiple expressions are evaluated, with the compound expression's final value being the value of the rightmost of its member expressions. This is commonly used to provide multiple parameters to a `for` loop. |
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comma_Operator'>Comma operator</BadgeLink> |
||||
|
Loading…
Reference in new issue