Skip to content

Commit

Permalink
mejoro la función #43
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelfdez99 committed Dec 8, 2020
1 parent 021180b commit bd3bf06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions functions/getBrand.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ function gBrand(b){
item = "";
for(i = 1; i <= 6; i++){
if (data['items'][i]["brand"] == b){
item += "\n Type:" + data['items'][i]["type"][i] +
item += data['items'][i]["brand"] + ":" +
"\n Type:" + data['items'][i]["type"] +
"\n Size: " + data['items'][i]["size"] +
"\n Color: " + data['items'][i]["color"] +
"\n Price: " + data['items'][i]["price"] +
"\n Season: " + data['items'][i]["season"] + "";
"\n Season: " + data['items'][i]["season"] + "\n";
}
}
return item;
Expand Down

1 comment on commit bd3bf06

@vercel
Copy link

@vercel vercel bot commented on bd3bf06 Dec 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.