Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Listado.prototype.obtenerUbicaciones = function() {
- var c = [];
- for (var i = 0; i < this.restaurantes.length; i++) {
- c.push(this.restaurantes[i].ubicacion);
- }
- return (this.noRepeat(ciudadFiltrada)).sort();
- }
- Listado.prototype.obtenerUbicaciones = function() {
- var ciudades = [];
- var ciudadFiltrada = ciudades.map(function(ciudad{
- return ciudad;
- });
- return (this.noRepeat(ciudadFiltrada)).sort();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement