index.js
function getPath(obj, path, defaultValue) {
	var pointer = obj;
	path.split('.').every(function(slice) {
		if (pointer[slice]) {
			pointer = pointer[slice];
			return true;
		} else {
			pointer = defaultValue;
			return false;
		}
	});
	return pointer;
}
function getPath(obj, path, defaultValue) {
	var pointer = obj;
	path.split('.').every(function(slice) {
		if (pointer[slice]) {
			pointer = pointer[slice];
			return true;
		} else {
			pointer = defaultValue;
			return false;
		}
	});
	return pointer;
}
Utility functions {{{ 
Try and return a value from a deeply nested object by a dotted path
This is functionally the same as lodash's own _.get() function
@param {*} obj The array or object to traverse
@param {string} path The path to find
@param {*} [defaultValue=undefined] The value to return if nothing is found