Files
sdk/pkg/dev_compiler/test/codegen/expect/map_keys.js
T
Vijay Menon 5b2e5f8e30 Regen DDC files
These are due to the upgrade to analyzer 0.26.3

TBR=jmesserly@google.com,leafp@google.com

Review URL: https://codereview.chromium.org/1486753003 .
2015-11-30 13:39:16 -08:00

22 lines
647 B
JavaScript

dart_library.library('map_keys', null, /* Imports */[
"dart/_runtime",
'dart/core',
'dart/math'
], /* Lazy imports */[
], function(exports, dart, core, math) {
'use strict';
let dartx = dart.dartx;
function main() {
core.print(dart.map({'1': 2, '3': 4, '5': 6}));
core.print(dart.map([1, 2, 3, 4, 5, 6]));
core.print(dart.map({'1': 2, [`${dart.notNull(math.Random.new().nextInt(2)) + 2}`]: 4, '5': 6}));
let x = '3';
core.print(dart.map(['1', 2, x, 4, '5', 6]));
core.print(dart.map(['1', 2, null, 4, '5', 6]));
}
dart.fn(main);
// Exports:
exports.main = main;
});
//# sourceMappingURL=map_keys.js.map