Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
finished recording 02_02
Browse files Browse the repository at this point in the history
  • Loading branch information
svodnik committed Jun 26, 2021
1 parent 6b113b4 commit d03ae30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ch02/02_02/begin/items.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const products = '[{"id":"530","name":"Bamboo Thermal Ski Coat","image_title":"ski-coat_lynda_29940","image":"https://hplussport.com/wp-content/uploads/2016/12/ski-coat_LYNDA_29940.jpg"},{"id":"436","name":"Blueberry Mineral Water","image_title":"mineral-water-blueberry_600px","image":"https://hplussport.com/wp-content/uploads/2015/12/mineral-water-blueberry_600px.png"}]';

// Add code to parse the products variable here:

const productsParsed = JSON.parse(products);

const item = '{"id":"530","name":"Bamboo Thermal Ski Coat","image_title":"ski-coat_lynda_29940","image":"https://hplussport.com/wp-content/uploads/2016/12/ski-coat_LYNDA_29940.jpg"}';

// Add code to parse the item variable here:

const itemParsed = JSON.parse(item);

0 comments on commit d03ae30

Please sign in to comment.