src/sap.ui.core/src/sap/ui/core/Manifest.js
function deepFreeze(oObject) {
		if (oObject && typeof oObject === 'object' && !Object.isFrozen(oObject)) {
			Object.freeze(oObject);
			for (var sKey in oObject) {
				if (oObject.hasOwnProperty(sKey)) {
					deepFreeze(oObject[sKey]);
				}
			}
		}
	}
function deepFreeze(oObject) {
		if (oObject && typeof oObject === 'object' && !Object.isFrozen(oObject)) {
			Object.freeze(oObject);
			for (var sKey in oObject) {
				if (oObject.hasOwnProperty(sKey)) {
					deepFreeze(oObject[sKey]);
				}
			}
		}
	}
function deepFreeze ( oObject ) { if ( oObject && typeof oObject === 'object' && ! Object . isFrozen ( oObject ) ) { Object . freeze ( oObject ) ; for ( var sKey in oObject ) { if ( oObject . hasOwnProperty ( sKey ) ) { deepFreeze ( oObject [ sKey ] ) ; } } } }
Freezes the object and nested objects to avoid later manipulation

@param oObject the object to deep freeze
Freezes the object and nested objects to avoid later manipulation