Finding value in multidimensional array

You should really think about using an array of objects for your radiators.

const myRadiators =
[
    {
        "id" : 1,
        "count",
        "width" : 300,
        "height" : 50,
        "price" : 100
       …
    },
    {
        …
    }
];
1 Like