Question 31

Which two options are core Node.js modules?
Choose 2 answers
  • Question 32

    Which statement accurately describes the behaviour of the async/ await keyworks ?
  • Question 33

    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 34

    A developer wrote the following code to test a sum3 function that takes in an array of numbers and returns the sum of the first three numbers in the array. The test passes:

    A different developer made changes to the behavior of sum3 to instead sum all of the number present In the array.
    Which two results occur when running the test on the updated sum3 function?
    Choose 2 answers
  • Question 35

    Refer to the following code:

    What will the console when the button is clicked?