Ruby - Functional Patterns in Ruby
What is wrong with this code snippet?
arr = [1, 2, 3] arr.freeze arr.push(4) puts arr.inspect
arr = [1, 2, 3] arr.freeze arr.push(4) puts arr.inspect
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions