Defines a new namespace with the specified name. For more information, see Organizing your code with WinJS.Namespace.
The name of the namespace. This could be a dot-separated name for nested namespaces.
The members of the new namespace.
any
The newly-defined namespace.
Defines a new namespace with the specified name under the specified parent namespace. For more information, see Organizing your code with WinJS.Namespace.
The parent namespace.
The name of the new namespace.
The members of the new namespace.
any
The newly-defined namespace.