confucious.js
function (keyParts, hash) {

		for (var i = 0; i < keyParts.length-1; ++i) {
			hash = getValue(keyParts[i], hash);
			if (typeof(hash) === 'undefined') {
				return undefined;
			}
		}

		var lastKeyPartIndex = keyParts.length-1;
		return getValue(keyParts[lastKeyPartIndex], hash)
	}
function (keyParts, hash) {

		for (var i = 0; i < keyParts.length-1; ++i) {
			hash = getValue(keyParts[i], hash);
			if (typeof(hash) === 'undefined') {
				return undefined;
			}
		}

		var lastKeyPartIndex = keyParts.length-1;
		return getValue(keyParts[lastKeyPartIndex], hash)
	}
function ( keyParts , hash ) { for ( var i = 0 ; i < keyParts . length - 1 ; ++ i ) { hash = getValue ( keyParts [ i ] , hash ) ; if ( typeof ( hash ) === 'undefined' ) { return undefined ; } } var lastKeyPartIndex = keyParts . length - 1 ; return getValue ( keyParts [ lastKeyPartIndex ] , hash ) }
Get a nested value from the specified object. Returns undefined if not found.
Get a nested value from the specified object . Returns undefined if not found .