+ 16
What is the function of this comparison operator '===' in ruby?
(1......10) === 5
2 ответов
0
Isn't it same than === in JavaScript?
In JavaScript === compares 2 things:
value equality and type equality.
for example false === 0 would be false in JavaScript, where false == 0 would be true.
0
Let me clear,does "===" exists in Ruby?
Caused in just checked Ruby course provided by Sololearn itself..