1
0
forked from Mirror/wren

Allow trailing comma in map literal

This commit is contained in:
Lukas Werling
2015-05-30 22:17:58 +02:00
committed by Bob Nystrom
parent 6559edbc56
commit e1d3596643
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,7 @@
var map = {
"a": 1,
"b": 2,
}
IO.print(map["a"]) // expect: 1
IO.print(map["b"]) // expect: 2