Add JavaScript questions (#4505)
* Add Javascript questions * wip: add more questions * wip: add ternary operator * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * fix: set example * wip: add more questions * wip: add more question * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add another question * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions * wip: add more questions
This commit is contained in:
1 parent
485ca9dd8f
commit
abbeb717d1
52 files changed
+1475
No files matched your search
@@ -0,0 +1,8 @@
|
||||
The Comma Operator `,` evaluates each of its operands (from left to right) and returns the value of the last operand.
|
||||
|
||||
```js
|
||||
let x = 1;
|
||||
x = (x++, x);
|
||||
|
||||
console.log(x); // 2
|
||||
```
|
||||
Reference in new issue
Block a user