Hi Tim, good point! However, if you try out [1,2,3] == [1,2,3] in your console, you'll see it returns false. JS's double-equals will coerce types, but it won't perform a recursive equality check the way it does in Ruby. 😵
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Tim, good point! However, if you try out
[1,2,3] == [1,2,3]
in your console, you'll see it returnsfalse
. JS's double-equals will coerce types, but it won't perform a recursive equality check the way it does in Ruby. 😵