Ruby - Hashes
Which Ruby method returns a new hash by combining two hashes without changing the original?
Which Ruby method returns a new hash by combining two hashes without changing the original?
merge behaviormerge returns a new hash combining two hashes without modifying the original.merge! and updatemerge! and update modify the original hash, so they don't return a new one.merge returns new hash [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions