= in jquery means assignment operator. You can use the = symbol to assign values to variables; and the == and === symbols are comparison operators used to determine whether values are equal.
The operating environment of this article: Windows7 system, jquery3.2.1 version, DELL G3 computer
jquery中=
What means?
In jquery = is assignment, and the assignment operator (=) assigns values to variables.
What is the difference between jQuery=, == and ===?
1. = is assignment;
2. == is to determine whether the values are equal. If the data types are different, convert the data type first and then judge;
2 , === is similar to ==, it also determines whether the values are equal, but if you use ===, if the data types are different and the values are the same, they will not be equal
Recommended learning: "jquery video tutorial 》
The above is the detailed content of What does = mean in jquery. For more information, please follow other related articles on the PHP Chinese website!