4 ms·
My assumption is that quotes are needed for keys with spaces. > x = {} > x["foo bar"] = 1 > x { 'foo bar': 1 }
by shill 10y ago
My assumption is that quotes are needed for keys with spaces.
> x = {}
> x["foo bar"] = 1
> x
{ 'foo bar': 1 }
- Retra 10y agoThat only explains why they are permitted, not why they are mandatory.