blob: 908c5f3784e6479f1f059acfd5c9e0e049fe4ddb [file] [log] [blame]
// Expectation for test:
// main() {
// var list = [1, 2, 3];
// list[1] = 6;
// print(list);
// }
function() {
var list = [1, 2, 3], line;
list[1] = 6;
line = H.S(list);
if (typeof dartPrint == "function")
dartPrint(line);
else if (typeof console == "object" && typeof console.log != "undefined")
console.log(line);
else if (!(typeof window == "object")) {
if (!(typeof print == "function"))
throw "Unable to print message: " + String(line);
print(line);
}
}