1

What can be done in order to avoid creation of global variables in JavaScript?

Correct Answer: To use an object as its namespace

Make the most of this question

This page focuses on one Machine Learning MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Machine Learning MCQs MCQ: What can be done in order to avoid creation of global variables in JavaScript? | Extra Education