Rekurzija

by Daman Daman

JavaScript

function yell(n) {
    return n > 0 ? yell(n - 1) + "a" : "je";
}

console.log(yell(12));