JavaScript-Developer-I Exam Question 151

Refer to the code below:

After running this code, which result is displayed on the console?
  • JavaScript-Developer-I Exam Question 152

    A developer writes the code below to calculate the factorial of a given number.

    What is the result of executing line 04?
  • JavaScript-Developer-I Exam Question 153

    A developer wants to literate through an array of objects and count the objects whose property value, name, start with the letter N. const arrobj - [{''name ''t ''Zach''}, { ''name t Kate'') , ( ''name Alice'') < ( ''name'' t ''Bob'') , (''name'' t ''Nathan) , (''name'' t ''Nathandle1'')] Refer to the code snippet below:

    Which missing lines 02 and 03 return the correct count?
  • JavaScript-Developer-I Exam Question 154

    A developer has a web server running with Node.js. The command to start the web server is node server.js.
    The web server started having
    latency issues. Instead of a one second turnaround for web requests, the developer now sees a five second turnaround.
    Which command can the web developer run to see what the module is doing during the latency period?
  • JavaScript-Developer-I Exam Question 155

    A developer has code that calculates a restaurant bill, but generates incorrect answers
    while testing the code:
    function calculateBill ( items ) {
    let total = 0;
    total += findSubTotal(items);
    total += addTax(total);
    total += addTip(total);
    return total;
    }
    Which option allows the developer to step into each function execution within calculateBill?