+ 9

Is javascript the only programming language that supports the '===' operator?

=== which is used to compare value and data type of variables.

11th Jul 2018, 10:25 AM
Tesfa
Tesfa - avatar
12 Answers
+ 5
well '===' is also available in php and i believe it has the same purpose
11th Jul 2018, 9:40 PM
Sammy
Sammy - avatar
+ 5
in php too
19th Jul 2018, 11:42 AM
Hamza Adaoud
Hamza Adaoud - avatar
+ 4
=== can be found in swift as well
12th Jul 2018, 2:59 PM
ŠœŠøŠŗŠ¾Š»Š° Š¤ŠµŠ“Š¾ŃŃ”Ń”Š²
ŠœŠøŠŗŠ¾Š»Š° Š¤ŠµŠ“Š¾ŃŃ”Ń”Š² - avatar
+ 3
Satnam Singh i have covered that lesson, but i was only wondering if the operator is available in other programming languages as i found it helpfull.
11th Jul 2018, 2:39 PM
Tesfa
Tesfa - avatar
+ 2
You can compare variable types in other languages, just not always with ===. If you find it annoying to write out two different if statement conditions every time, perhaps make a function that outputs true or false.
11th Jul 2018, 11:30 AM
James
James - avatar
+ 1
there are other language that uses this such as swift and android development..
13th Jul 2018, 11:38 PM
Ricardo
Ricardo - avatar
0
in php
7th Aug 2018, 12:27 PM
Š–ŠµŠ½Ń Mart
Š–ŠµŠ½Ń Mart - avatar
0
in many other languages it is used.
31st Aug 2018, 12:59 PM
Kaustubh
0
All programming languages makes use of it but it is not often use like the ==
4th Dec 2018, 10:30 PM
Adeyemi emmanuel
Adeyemi emmanuel - avatar
- 1
javascript , php , c , c++ , python and rubi are use this "==="
13th Aug 2018, 1:35 AM
IQBAL
IQBAL - avatar