Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function procesarDatos(formato, datos) {
switch(formato) {
case 'xml':
//transformar datos de XML a objetos...
break;
case 'csv':
//transformar datos de CSV a objetos...
break;
}
//Continua procesamiento de datos
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.