Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRubyarrays push map selectSingle-choice MCQ

What does `arr` contain after this code, and what does the last line print?

arr = [1, 2] p arr.push(3)