Which two methods are used to address this?
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.
B . Assign variables to the global object.
C . Create a new window object in the root file.
D . Assign variables to module.exports and require them as needed.
Answer: B
Latest JavaScript Developer I Dumps Valid Version with 144 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Answers: B, D