Answers for ""function elaine(str)""

0

"function elaine(str)"

let calls = "";

function jerry(str) {
  //go here first
  //add jerry to str
    str += `Jerry`;
  //go to kramer
  kramer(str);
  //is this working?
  console.log(str, `jerry str`);
}

function george(str) {
    str += `George`;
  elaine(str);
  console.log(str, `george str`);
}

function elaine(str) {
    str += `Elaine`;
  console.log(str, `elaine str`);
  calls = str;
  console.log(calls);
}

function kramer(str) {
    str += `Kramer`;
  george(str);
  console.log(str, `kramer str`);
}

// should return: 'JerryKramerGeorgeElaine'
calls = jerry(calls);
Posted by: Guest on September-19-2021

Code answers related to ""function elaine(str)""

Code answers related to "Javascript"

Browse Popular Code Answers by Language