JSFiddle - React, Tailwind, and code Playground

by evgkch

JavaScript

const tariff_PLAN = [{ values: [1,2,3] }, { values: [1,2,3] }, { values: [1,2,3] }].reduce(
      (a, b) => [...a.values, ...b.values]
    );
    
    console.log(tariff_PLAN)