# Braces: map literals [Syntax and values](README.md) ## Behavior and details Braces create a Map, not a block or a set. Each entry has a key expression, colon, and value expression. Keys must be Number, Text, or Boolean. Empty braces create an empty Map. Duplicate literal keys keep the last value at the first insertion position. Assignment can update keys but cannot grow the Map. ## Example ```pliro # language: en let player = {"score": 12, "name": "Ada",} say player["score"] say length({}) ``` ## Related entries [Syntax and values](README.md) · [Built-ins](../builtins/README.md) · [Programming guides](../guides/README.md)