code: function preparePath(path) {
  		var parts = path.split('.')
  		parts = parts.map(function (part) {
  			return numericRegex.test(part) ? part : '\'' + escape(part) + '\''
  		})
  		return '[' + parts.join(', ') + ']'
  	}
docs: Convert a path string to a JS code for an array
  Example: preparePath('users.0.name') -> "['users', 0, 'name']"
  @param {string} path
  @returns {string}
  @private