DEV Community

Discussion on: Daily Challenge #56 - Coffee Shop

aayzio profile image
aayzio • Edited on

The {} operator would define a map. In the solution that would be a map of float type keys for string type values. The [ ] is then used to access a particular key.

Thread Thread
georgecoldham profile image

Awesome, thank you!

Thread Thread
aayzio profile image

You're welcome!