What is === operator in JS?
The triple equals operator ( ===
) returns true if both operands are of the same type and contain the same value.
=== strictly equal to. in js “==” check the value, not the type of data, but when you use "=== " It checks value and type of data.
example
if(“2”==2) it is true
if(“2”===2) it is false