My Feed
Discussions
Headless CMS
New
More
Sign in
Log in
Sign up
Learn more about Hashnode Headless CMS
Collaborate seamlessly with
Hashnode Headless CMS
for Enterprise.
Upgrade ✨
Learn more
Why |i| is used in the following code:-
Manish pamnani
·
Jun 17, 2017
[1,2,3,4,5].map{ |i| i + 1}
1