cretz / pratphall

A typed language targeting PHP (abandoned)
http://cretz.github.io/pratphall/
Other
45 stars 5 forks source link

Figure out how to define dynamic key in assoc array #9

Open cretz opened 11 years ago

cretz commented 11 years ago

After figuring out #6, figure out how to do this:

var a = 'someName';
var b = new Map<string, number>({
    a: 12
});