f1 = function () { return // ; semicolon inserted here { status: true } } f2 = function () { return { status: true } } print("f1 returns: " + f1()); print("f2 returns: " + f2());
Output