difference between == and ===
var a = 23;
var b = "23";
a == b // true (Equalit without type check)
a === b // false (Equality with type check)
difference between == and ===
var a = 23;
var b = "23";
a == b // true (Equalit without type check)
a === b // false (Equality with type check)
difference between == and is
string = "69"
integer = 69
print(string is integer) # Prints False, as the values are the same but NOT the datatypes
print(string == integer) # Prints False, as the values are the same (a type check is not performed with ==)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us