ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 139 - Certified JavaScript Developer I discussion

Report
Export

In the browser, the window object is often used to assign variables that require the broadest scope in an application Node.js application does not have access to the window object by default.

Which two methods are used to address this ?

Choose 2 answers

A.
Use the document object instead of the window object.
Answers
A.
Use the document object instead of the window object.
B.
Assign variables to the global object.
Answers
B.
Assign variables to the global object.
C.
Create a new window object in the root file.
Answers
C.
Create a new window object in the root file.
D.
Assign variables to module.exports and require them as needed.
Answers
D.
Assign variables to module.exports and require them as needed.
Suggested answer: B
asked 23/09/2024
ENET SOLUTIONS LOGICOM
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first