"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.functionWithDefaultParams = exports.functionWithOptionalParams = exports.myCallback = void 0;
function myCallback() {
    return 'Mike6';
}
exports.myCallback = myCallback;
/**
 * Die Kombi ?: macht den Parameter optional
 *
 * @param name
 * @param age
 */
function functionWithOptionalParams(name, age) {
    return `Hi ${name}, your age is ${age ? age : '<undefined>'}`;
}
exports.functionWithOptionalParams = functionWithOptionalParams;
function functionWithDefaultParams(firstname, lastname = 'Mitterer') {
    return `Hi ${firstname} ${lastname}`;
}
exports.functionWithDefaultParams = functionWithDefaultParams;
//# sourceMappingURL=functions.js.map