JavaScript-Developer-I Exam Question 141

Refer to the following object.

How can a developer access the fullName property for dog?
  • JavaScript-Developer-I Exam Question 142

    Given the HTML below:

    Which statement adds the priority-account CSS class to the Universal Containers row?
  • JavaScript-Developer-I Exam Question 143

    Refer to the code below:
    new Promise((resolve, reject) => {
    const fraction = Math.random();
    if( fraction >0.5) reject("fraction > 0.5, " + fraction);
    resolve(fraction);
    })
    .then(() =>console.log("resolved"))
    .catch((error) => console.error(error))
    .finally(() => console.log(" when am I called?"));

    When does Promise.finally on line 08 get called?
  • JavaScript-Developer-I Exam Question 144

    developer is trying to convince management that their team will benefit from using Node.js for a backend server that they are going to create. The server will be a web server that handles API requests from a website that the team has already built using HTML, CSS, and JavaScript.
    Which three benefits of Node.js can the developer use to persuade their manager?
    Choose 3 answers:
  • JavaScript-Developer-I Exam Question 145

    There is a new requirement for a developer to implement a currPrice method that will return the current price of the item or sales..

    What is the output when executing the code above