Anonymous ID: ad27b5 May 26, 2021, 12:50 a.m. No.13756850   🗄️.is 🔗kun

>>13756572

Um. No.

 

== is for comparisons. In javascript it is a fuzzy comparison.

2 == '2' in javascript.

Triple equals is a better comparison. 2 === '2' evaluates to false as the numeral 2 isn't the same as the character '2'.

A single = is an assignment operator.

So, assigning the numeral 2 to that, as in:

that = 2;

would make the following statement true:

that === 2