JavaScript-Developer-I Exam Question 111

A developer is debugging a web server that uses Node.js The server hits a runtimeerror every third request to an important endpoint on the web server.
The developer added a break point to the start script, that is at index.js at he root of the server's source code. The developer wants to make use of chrome DevTools to debug.
Which command can be run to access DevTools and make sure the breakdown is hit ?
  • JavaScript-Developer-I Exam Question 112

    Given the JavaScript below:
    01 function filterDOM (searchString) {
    02 const parsedSearchString = searchString && searchString.toLowerCase() ;
    03 document.quesrySelectorAll(' .account' ) . forEach(account => (
    04 const accountName = account.innerHTML.toLOwerCase();
    05 account. Style.display = accountName.includes(parsedSearchString) ? /*Insert code*/;
    06 )};
    07 }
    Which code should replace the placeholder comment on line 05 to hide accounts that do not match the search string?
  • JavaScript-Developer-I Exam Question 113

    Refer to code below:
    Let productSKU = '8675309' ;
    A developer has a requirement to generate SKU numbers that are always 19 characters lon,
    starting with 'sku', and padded with zeros.
    Which statement assigns the values sku0000000008675309 ?
  • JavaScript-Developer-I Exam Question 114

    A developer is working on an ecommerce website where the delivery date is dynamically
    calculated based on the current day. The code line below is responsible for this calculation.
    Const deliveryDate = new Date ();
    Due to changes in the business requirements, the delivery date must now be today's
    date + 9 days.
    Which code meets this new requirement?
  • JavaScript-Developer-I Exam Question 115

    Which three actions can be using the JavaScript browser console?
    Choose 3 answers: