code: function camelToSnake( string ) {
  	return string.replace( ptnCamel, ( all, predecessor, match ) => predecessor + "_" + match.toLocaleLowerCase() );
  }
docs: Converts string from camelCase to snake_case.
  
  @param {string} string string to convert
  @returns {string} converted string