JSFiddle - React, Tailwind, and code Playground

by César Miguel Cação

JavaScript

series = [{
        name: 'Tokyo',
        data: [7.0, 6.9, 9.5]
    }, {
        name: 'New York',
            data: [-0.2, 0.8, 5.7]
    }]

    $.each(series, function (index, itemData) {
        itemData.data.push(12);
        alert(itemData.data);
           });