Logo

Programming-Idioms

History of Idiom 8 > diff from v64 to v65

Edit summary for version 65 by test:
[Dart] test

Version 64

2019-12-04, 22:57:36

Version 65

2019-12-24, 03:23:38

Idiom #8 Initialize a new map (associative array)

Declare a new map object x, and provide some (key, value) pairs as initial content.

Idiom #8 Initialize a new map (associative array)

Declare a new map object x, and provide some (key, value) pairs as initial content.

Extra Keywords
table dictionary hash
Extra Keywords
table dictionary hash
Code
var x = {
	"one": 1,
	"two": 2
};
Code
var x = {
	one= "1",
	two="2"
};
Doc URL
https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#ch03-maps-aka-dictionaries-or-hashes
Doc URL
https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#ch03-maps-aka-dictionaries-or-hashes