Ruby - Hashes
Identify the error in this Ruby code:
profile = { username: 'john_doe', email: 'john@example.com' }
puts profile[username]profile = { username: 'john_doe', email: 'john@example.com' }
puts profile[username]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions