Skip to main content
All lessons

Maps

8 min · Elixir

Store values under named keys with Map.new and map[key].

Elixir · Maps0/5 cleared

Enemy 1 of 5

A map stores key-value pairs. %{key: value} creates one; map[:key] reads a value.

You
Pincer Crab

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada