re: Equality of Data Structures: Ruby vs. JavaScript VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

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. 😵

code of conduct - report abuse