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

高洛峰
Release: 2016-10-12 13:45:21
Original
2067 people have browsed it

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.


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template