Question 16

Considering type coercion, what does the following expression evaluate to?
True + '13' + NaN
  • Question 17

    Which three options show valid methods for creating a fat arrow function?
    Choose 3 answers
  • Question 18

    A developer is setting up a Node,js server and is creating a script at the root of the source code, index,js, that will start the server when executed. The developer declares a variable that needs the folder location that the code executes from.
    Which global variable can be used in the script?
  • Question 19

    Refer to the following code block:

    What is the console output?
  • Question 20

    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?