chicken-sloths / bangazon-api-sprint1

API for a mock Amazon + Etsy platform providing developers access to the company's employee & product data
0 stars 0 forks source link

Change let to const #129

Open TimAConner opened 6 years ago

TimAConner commented 6 years ago

Context

Almost all lets can be const, since the value is not changing.

Associated Product Ticket

Process

  1. Change arrays created in the Faker JSON creator to const because you can push to an array without violating the const condition.
  2. Change destructing test to see if there is data or not from the body of a request from let to const.