Skip to content

Instantly share code, notes, and snippets.

@pablotolentino
Created March 24, 2021 01:13
Show Gist options
  • Save pablotolentino/a011688836434e0e4c70ba4b95ea5d7d to your computer and use it in GitHub Desktop.
Save pablotolentino/a011688836434e0e4c70ba4b95ea5d7d to your computer and use it in GitHub Desktop.
obtener-poblacion
let ciudadesResultado = ciudades.filter(function (ciudad) {
return ciudad.poblacion > 3000000;
});
console.log(ciudadesResultado);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment