Which option is a core Node,js module?

Which option is a core Node,js module?A . PathB . IosC . MemoryD . locateView AnswerAnswer: A

January 9, 2021 No Comments READ MORE +

If the back button is clicked after this method is executed, what can a developer expect?

A developer implements and calls the following code when an application state change occurs: Const onStateChange =innerPageState) => { window.history.pushState(newPageState, ‘ ’, null); } If the back button is clicked after this method is executed, what can a developer expect?A . A navigate event is fired with a state property...

January 8, 2021 No Comments READ MORE +

Which three statements are true about promises? Choose 3 answers

Which three statements are true about promises? Choose 3 answersA . The executor of a new Promise runs automatically.B . A Promise has a .then() method.C . A fulfilled or rejected promise will not change states .D . A settled promise can become resolved.E . A pending promise can become...

January 7, 2021 No Comments READ MORE +

Which command can the web developer run to see what the module is doing during the latency period?

developer has a web server running with Node.js. The command to start the web server is node server,js. The web server started having latency issues. Instead of a one second turn around for web requests, the developer now sees a five second turnaround, Which command can the web developer run...

January 7, 2021 2 Comments READ MORE +

In which situation should a developer include a try .. catch block around their function call?

In which situation should a developer include a try .. catch block around their function call?A . The function has an error that should not be silenced.B . The function results in an out of memory issue.C . The function might raise a runtime error that needs to be handled.D...

January 7, 2021 No Comments READ MORE +

How should the developer implement the request?

A developer has the following array of student test grades: Let arr = [ 7, 8, 5, 8, 9 ]; The Teacher wants to double each score and then see an array of the students who scored more than 15 points. How should the developer implement the request?A . Let...

January 7, 2021 No Comments READ MORE +

Which statement accurately describes the behaviour of the async/ await keyworks?

Which statement accurately describes the behaviour of the async/ await keyworks?A . The associated class contains some asynchronous functions.B . The associated function will always return a promiseC . The associated function can only be called via asynchronous methodsD . The associated sometimes returns a promise.View AnswerAnswer: B

January 7, 2021 No Comments READ MORE +

Works in both the browser and Node.js Which meet the requirements?

Works in both the browser and Node.js Which meet the requirements?A . assert (number % 2 === 0);B . console.error(number % 2 === 0);C . console.debug(number % 2 === 0);D . console.assert(number % 2 === 0);View AnswerAnswer: B

January 6, 2021 No Comments READ MORE +