//// [controlFlowComputedPropertyNames.ts]
function f1(obj, key) {
    if (typeof obj[key] === "string") {
        obj[key].toUpperCase();
    }
}
function f2(obj, key) {
    if (obj[key] !== undefined) {
        obj[key].toUpperCase();
    }
    var key2 = key + key;
    if (obj[key2] !== undefined) {
        obj[key2].toUpperCase();
    }
    var key3 = key + key;
    if (obj[key3] !== undefined) {
        obj[key3].toUpperCase();
    }
}
function f3(obj, key) {
    if (obj[key] !== undefined) {
        if (typeof obj[key] === "string") {
            obj[key].toUpperCase();
        }
        if (typeof obj[key] === "number") {
            obj[key].toFixed();
        }
    }
}
function f4(obj, key) {
    if (obj[key]) {
        obj[key].toUpperCase();
    }
}
