0
Same or not same
[1.0, 2] & [1, 2] => [2] but [1.0, 2] <=> [1, 2] => 0 and even [1, 2].equal? [1, 2] => false is there a rule to help understand when an operation is about actual value of an argument, when it considers it's kind, and when it actually checks it's internal ID something.. it's getting confusing.. memorizing is only way?
1 Respuesta
+ 1
Yes, memorizing is the way (using it is automatic) or you should try/search everytime youu need... Also because different languages have different sintax