JavaScript-Developer-I Exam Question 16

Refer to the following object:

How can a developer access the fullname property for cat?
  • JavaScript-Developer-I Exam Question 17

    Which two code snippets show working examples of a recursive function?
    Choose 2 answers
    A)

    B)

    C)

    D)
  • JavaScript-Developer-I Exam Question 18

    Refer to the following code block:

    What is the console output?
  • JavaScript-Developer-I Exam Question 19

    Refer to the following code that imports a module named Utills,
    Which two implementations of Utill, je export foo and bar such that the code above runs without error?
    Choose 2 answers
  • JavaScript-Developer-I Exam Question 20

    A developer is setting up a new Node.js server with a client library that is built using events and callbacks.
    The library:
    * Will establish a web socket connection and handle receipt of messages to the server
    * Will be imported with require, and made available with a variable called we.
    The developer also wants to add error logging if a connection fails.
    Given this info, which code segment shows the correct way to set up a client with two events that listen at execution time?