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