#3) Difference between "==" and "===" operators❔
Mayank Yadav
Posted on July 25, 2021
==(Equality)
✔Used for comparing two variables and ignoring the data type of variable.
✔Returns true only if the two operands are equal and false for not equal.
===(Strict Equality)
✔Used for comparing two variables but also checks the data type and compares the two values.
✔Returns true only if both the values and data types are same.
🚀Both("==" and "===") are comparison operators.
💖 💪 🙅 🚩
Mayank Yadav
Posted on July 25, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.