+ 8

What does "==" mean??

18th Feb 2021, 6:19 AM
Karine
Karine - avatar
55 Antworten
+ 11
If they are - it returns "true", else - returns "false"
18th Feb 2021, 6:23 AM
Nazeekk
Nazeekk - avatar
+ 11
== equal operator(check for two values) = assigning value to variable
18th Feb 2021, 3:24 PM
Wei Phyo Aung
Wei Phyo Aung - avatar
+ 9
(2 == 2) - true (2 == 3) - false Also (2 == "2") - false
18th Feb 2021, 6:24 AM
Nazeekk
Nazeekk - avatar
+ 7
2 == “2” is true in js. Also 2 === “2” is false because === compares the datatype as well. https://www.sololearn.com/learn/JavaScript/1132/
18th Feb 2021, 8:11 AM
Sharique Khan
Sharique Khan - avatar
+ 6
"==" it use for equal "!=" it use for not equal they are operator
18th Feb 2021, 6:57 AM
Carbon dioxide
Carbon dioxide - avatar
+ 6
they are logical operarors in many languages for comparing data
19th Feb 2021, 3:28 AM
Yusuf M Hashmi
+ 6
In Javascript there is also a === operator which compares both the value and type of the 2 operands.
19th Feb 2021, 9:11 AM
Sonic
Sonic - avatar
+ 6
In Pascal, there is no == operator. = is used to check for equality and := is used for assignment.
19th Feb 2021, 9:15 AM
Sonic
Sonic - avatar
+ 5
Thats needed to check if two values are equal
18th Feb 2021, 6:23 AM
Nazeekk
Nazeekk - avatar
+ 5
Thanks.....
18th Feb 2021, 6:24 AM
Karine
Karine - avatar
+ 5
You should have done the tutorials.
18th Feb 2021, 12:21 PM
Sonic
Sonic - avatar
+ 5
Comparison operator which means if the two value are same as equal the result is true.
18th Feb 2021, 9:54 PM
Unknown
Unknown - avatar
+ 5
We use "==" in most programming languages as a comparison operator to test for equality between two things. (Say for example 2==4 or 'a'=='5'). Generally, tge return type is a Boolean value (True or False) So 2==4 will return False meanwhile 3==3 will return True.
19th Feb 2021, 5:43 AM
Joël Fah
Joël Fah - avatar
+ 5
Equal comparison operator
25th Feb 2021, 4:56 PM
Kiprotich Kincaid
Kiprotich Kincaid - avatar
18th Feb 2021, 7:13 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 4
'=' means equals to in math but, '==' means equals to in js. Understand?
18th Feb 2021, 9:37 AM
Nafis Sadik Nibir
Nafis Sadik Nibir - avatar
+ 4
Equal.
18th Feb 2021, 11:33 AM
Md. Rashel Gazi
Md. Rashel Gazi - avatar
+ 4
a=10 # a is assigned the value of 10, and per duck-typing the type integer print a # --> 10 print type(a) # --> int print a==10 # --> True print a==11 # --> False if a==10: # if the condition is True do something else: do something else
19th Feb 2021, 7:03 AM
Oluwaseun Shaydus Oni
Oluwaseun Shaydus Oni - avatar
+ 4
In java it's used to compare primitive values and object refreneces.
19th Feb 2021, 8:07 AM
D_Stark
D_Stark - avatar
+ 4
It means ‘equal to’ for example: 2 == 2 (2 is equal to 2) 5 == 2 + 3 (5 is equal to 2 + 3)
19th Feb 2021, 9:39 AM
DeltaCharlie
DeltaCharlie - avatar