Demo entry 6363284

A language that grows on you

   

Submitted by anonymous on May 12, 2017 at 22:51
Language: Scala. Code size: 121 Bytes.

var capital = Map("US" -> "Washington", "France" -> "Paris")
capital += ("Japan" -> "Tokyo")
println(capital("France"))

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).