0
Pls what does this sign means,. ==. (double equal signs)
3 ответов
0
It's use to compare values.
e.g
var a = 4;
let b = 4;
if (a ==b){
alert ("a is the same as b")}
+ 1
It means what = means in math.
But = is already in use in programming languages to assign values, like...
int x=42;
So for checking if something is equal we need something else.
0
They're used to compare two things. If the two elements are equal (for example 2 == 2) it says "True". If not (for example 2 == 1) it says False.