What can be done in order to avoid creation of global variables in JavaScript?
A.To use a method that defines all the variables
B.To use an object that has the reference to all the variables
C.To use an object as its namespace
D.To use global functions
Answers
Answered by
0
hey mate........the answer is
C.To use an object as its namespace
C.To use an object as its namespace
Answered by
0
heya !!
here is your answer⬇️⬇️
Option B is the answer
hope my answer helps you
here is your answer⬇️⬇️
Option B is the answer
hope my answer helps you
Similar questions