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 54efecc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/getBrand.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ 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"] +
Expand Down

1 comment on commit 54efecc

@vercel
Copy link

@vercel vercel bot commented on 54efecc 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.