JavaScript Namespaces

Javascript namespace is necessary and can be found in any industrial javascript program. A simple example is this;

var myNameSpace = {};
myNameSpace.Register = function() 
{
  console.log('Using namespace with a function');
}

//call function
myNameSpace.Register();

The following factors make the Javascript namespace necessary… Read more here

FavoriteLoadingAdd to favorites
Spread the love

Author: Shahzad Khan

Software developer / Architect