en.javascript.info
en.javascript.info copied to clipboard
Clarification in the example of comma operator
Basic operators, maths
I think we need to add a clarification to this example, because if we run a = 1 + 2, 3 + 4 or (a = 1 + 2), 3 + 4 in strict mode, we get ReferenceError: a is not defined. I've seen several comments regarding this (some even tried to run this line of code with let: let a = 1 + 2, 3 + 4)
Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review :ghost: