OLD | NEW |
1 dart.library('map_keys', null, /* Imports */[ | 1 dart_library.library('map_keys', null, /* Imports */[ |
| 2 "dart_runtime/dart", |
2 'dart/core', | 3 'dart/core', |
3 'dart/math' | 4 'dart/math' |
4 ], /* Lazy imports */[ | 5 ], /* Lazy imports */[ |
5 ], function(exports, core, math) { | 6 ], function(exports, dart, core, math) { |
6 'use strict'; | 7 'use strict'; |
| 8 let dartx = dart.dartx; |
7 function main() { | 9 function main() { |
8 core.print(dart.map({'1': 2, '3': 4, '5': 6})); | 10 core.print(dart.map({'1': 2, '3': 4, '5': 6})); |
9 core.print(dart.map([1, 2, 3, 4, 5, 6])); | 11 core.print(dart.map([1, 2, 3, 4, 5, 6])); |
10 core.print(dart.map({'1': 2, [`${dart.notNull(math.Random.new().nextInt(2))
+ 2}`]: 4, '5': 6})); | 12 core.print(dart.map({'1': 2, [`${dart.notNull(math.Random.new().nextInt(2))
+ 2}`]: 4, '5': 6})); |
11 let x = '3'; | 13 let x = '3'; |
12 core.print(dart.map(['1', 2, x, 4, '5', 6])); | 14 core.print(dart.map(['1', 2, x, 4, '5', 6])); |
13 core.print(dart.map(['1', 2, null, 4, '5', 6])); | 15 core.print(dart.map(['1', 2, null, 4, '5', 6])); |
14 } | 16 } |
15 dart.fn(main); | 17 dart.fn(main); |
16 // Exports: | 18 // Exports: |
17 exports.main = main; | 19 exports.main = main; |
18 }); | 20 }); |
19 //# sourceMappingURL=map_keys.js.map | 21 //# sourceMappingURL=map_keys.js.map |
OLD | NEW |