What is Namespace in Javascript ?

In JavaScript, namespace is a single global object which will contain all our functions, methods, variables.

Javascript don’t provide default namespace you have to create it, so all functions, variables and object in Javascript are by default global.



You May Interest

JavaScript How To Find The Average Of 10 Numbers Using A While Lo ...

JavaScript Powering a Number

What is Console Object in Javascript ?

What is Window Object in Javascript ?

What are Advantages of Using External Javascript ?