I feel really stupid asking this, but what is the correct way to write the second line of the following example in math notation?
Example (JavaScript)
var x = 2, y = 2;
x += 2 * y; // x = x + 2 * y
Would it be written as x := x + 2y?
I feel really stupid asking this, but what is the correct way to write the second line of the following example in math notation?
Example (JavaScript)
var x = 2, y = 2;
x += 2 * y; // x = x + 2 * y
Would it be written as x := x + 2y?