Question 76

Refer to the following code:

Which two statements could be inserted at line 17 to enable the function call on line 18?
Choose 2 answers
  • Question 77

    A developer creates a generic function to log custom messages in the console. To do this, the function below is implemented.
    01 function logStatus(status){
    02 console./*Answer goes here*/{'Item status is: %s', status};
    03 }
    Which three console logging methods allow the use of string substitution in line 02?
  • Question 78

    Refer to the code below:

    Which code change should be made for the console to log only Row log when 'Click mel' is clicking?
  • Question 79

    Refer to the following code block:

    What is the console output?
  • Question 80

    Refer to the code below:
    Let foodMenu1 = ['pizza', 'burger', 'French fries'];
    Let finalMenu = foodMenu1;
    finalMenu.push('Garlic bread');
    What is the value of foodMenu1 after the code executes?