+ 9
Is javascript the only programming language that supports the '===' operator?
=== which is used to compare value and data type of variables.
12 Réponses
+ 5
well '===' is also available in php and i believe it has the same purpose
+ 5
in php too
+ 4
=== can be found in swift as well
+ 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.
+ 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.
+ 1
there are other language that uses this such as swift and android development..
0
in php
0
in many other languages it is used.
0
All programming languages makes use of it but it is not often use like the ==
- 1
javascript , php , c , c++ , python and rubi are use this "==="