SF Js Certification
SF Js Certification
Choose 2 answers
52 of 63. A developer wants to use a module called Date PrettyPrint. This module exports one
default function called printDate().
How can a developer import and use the printDate() function?
01 class Student (
02 constructor (name) (
this.name namez
06 takeTeat () (
07 console.log("$(this.name) got 70% on test.");
}
}
11 class BetterStudent extends Student (
12 constructor (name) (
13 super (name);
14 this.name 'Better student name:
16 takeTest () (
17 console.log('$(this.name) got 100% on test.");
21 let student new BetterStudent('Jackie');
22 student.takeTest();
33 of 63. A developer needs to debug a Node.js web server because a runtime error keeps
occurring at one of the endpoints.
The developer wants to test the endpoint on a local machine and make the request against a local
server to look at the behavior. In the source code, the server.js file will start the server. The
developer wants to debug the Node.js server only using the terminal.
Which command can the developer use to open the CLI debugger in their current terminal
window?