DEV Community

Discussion on: for/in vs. each in Ruby: More than just syntax

Collapse
mantis profile image
Michael A • Edited on

how am i getting different results than you @drbragg ?

different reaults

Collapse
drbragg profile image
Drew Bragg Author

What's returned if you call num after the each blockand after thefor` block?