blob: 9043a3f1102cb4c01b7560d44e182522b81294b8 [file] [log] [blame]
// Expectation for test:
// // Constant folding
// main() {
// print('A'.codeUnitAt(0));
// }
function() {
if (typeof dartPrint == "function")
dartPrint("65");
else if (typeof console == "object" && typeof console.log != "undefined")
console.log("65");
else if (!(typeof window == "object")) {
if (!(typeof print == "function"))
throw "Unable to print message: " + String("65");
print("65");
}
}