It seems simple but i'm having a little trouble understanding what it means. One the examples is x = y does that mean y will become x?
The value of x is gonna be the value of y. They gonna have the same values
let x=10 So if you put x+x you'll get 20
Yes 2 things 1) Statement or expression 1) X =10 : assigning values to a variable 2) X= Y Assigning variable value to another variable. 2) Question If X = Y then do this..... Here it verifies X = Y ? then it performs the action. Hope it helps.
Lets say x = 10 y = 25 Document.write (x = y) or something similar