View Problem

Add an entry to a map

Given an empty pets map, add the mapping from "rob" to "dog"
ExpandDiskEdit
fantom
map["rob"] = "dog"

Submit a new solution for fantom
There are 21 other solutions in additional languages (clojure, cpp, erlang, fsharp ...)