JSFiddle - React, Tailwind, and code Playground

by Ehsan Sajjad

JavaScript

var data=[
    {
        "toppings": [
            "Honey with Chocolate Sauce  10 ML",
            "Honey with Carmel  10 ML"
        ]
    }
];


console.log(data[0].toppings[0]);
console.log(data[0].toppings[1]);