Skip to content

Instantly share code, notes, and snippets.

@manuelzapata
Created February 14, 2019 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manuelzapata/ec3abdfbab280084073abf3350b19e86 to your computer and use it in GitHub Desktop.
Save manuelzapata/ec3abdfbab280084073abf3350b19e86 to your computer and use it in GitHub Desktop.
function procesarDatos(formato, datos) {
//convertidor sería un objeto de tipo ConvertidorDatos
const convertidor = obtenerConvertidor(formato);
const datosTransformados = convertidor.convertir(datos);
//Continua procesamiento de datos
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment