JavaScript-Developer-I Exam Question 31

Given a value, which three options can a developer use to detect of the value is NaN?
Choose 3 answers
  • JavaScript-Developer-I Exam Question 32

    A developer has the function, shown below, that is called when a page loads.

    Where can the developer see the log statement after loading the page in the browser?
  • JavaScript-Developer-I Exam Question 33

    A class was written to represent items for purchase in an online store, and a second class representing items that are on sale at a discounted price. The constructor sets the name to the first value passed in. The pseudocode is below:

    There is a new requirement for a developer to implement a description method that will retrun a brief description for item and saleitem.

    What is the out when executing the code above?
  • JavaScript-Developer-I Exam Question 34

    developer creates a new web server that uses Node.js. It imports a server library that uses events and callbacks for handling server functionality.
    The server library is imported with require and is made available to the code by a variable named server. The developer wants to log any issues that the server has while booting up.
    Given the code and the information the developer has, which code logs an error at boost with an event?
  • JavaScript-Developer-I Exam Question 35

    Refer to the following code:

    What is the output of line 11?