You can remove a previously defined locale by passing as the second argument.The deleted locale will no longer be available for use.
moment.locale('fr'); // 'fr'
As of 2.12.0 it is possible to create a locale that inherits from a parent locale.
As of 2.16.0 it is possible to define a locale with a parent that hasn't itself been defined or loaded.
moment.defineLocale('fakeLocale', {parentLocale:'xyz'})
As of 2.21.0 when attempting to create a moment with the newly defined locale, moment will attempt to lazy load the parent if it exists. Failing that it will default the parent to the global locale.
Any properties specified will be updated, while others will remain the same. This function does not affect moments that already exist.
To revert an update use: