+ 3

== and === what's the difference?

when to use == instead of === if any difference at all

17th Jul 2017, 1:54 PM
Chris Kramer
Chris Kramer - avatar
3 ответов
+ 7
== is used only to tell that the variables are of the same value. === is used to express that the variables have the same value and are of the same type. This is mostly used in JavaScript... Example: var a="30"; var b=30; You can say that a==b , but not a===b... Hope i was clear...
17th Jul 2017, 2:01 PM
Ledio Deda
Ledio Deda - avatar
+ 4
@Ledio thankx fr the info👍
17th Jul 2017, 2:21 PM
Rose
Rose - avatar
0
What the. Main comment of copresive socity
29th Apr 2020, 10:08 AM
Anand Mishra