What is the result of the following code?
function repeat(text) {
function double() {
return text + text;
}
return double();
}
console.log(repeat("Hello"));
What is the result of the following code?
function repeat(text) {
function double() {
return text + text;
}
return double();
}
console.log(repeat("Hello"));