- And here as promised is that other operator -- looks a little weird, but because assignment is already using the equal sign to assign one value on the right to a variable on the left.
在这里正像所承诺的那样,其他的操作-,看起来有点怪异,但是因为“=“已经被用来当赋值运算符了,用来把右边的一个值赋值给左边的变量。
And one of the things neophytes trip over early on is that we'll soon see there's not only an equal sign operator, there's equals equals.
这样我们还要引入了一个新的操作符,我们将看到这里不仅有一个等号的操作,还有双等号。
So this is the equality operator, whereas the single equal sign is the assignment operator.
所以这是相等操作符,然而那个单等号是一个赋值运算符。
Now, we're using the equal equals operator and this conceptually is correct.
现在,我们使用==符号,这是正确的。
The equal sign is really called the "assignment operator."
那个等号其实是个“赋值运算符“
应用推荐