Home >Web Front-end >JS Tutorial >JavaScript: The difference between one equal sign, two equal signs, and three equal signs
JavaScript The difference between one equal sign, two equal signs and three equal signs
One equal sign =: indicates assignment;
two equal signs==: convert the type first and then compare;
three equal signs===: Determine the type first, if it is not the same type, directly false.