Javascript array 복사하기

2024. 12. 13. 21:16Javascript

    const seriesOrigin = [].concat(chart.getSeries()); // Wrap in an array if not already
    const seriesClone = seriesOrigin.map(series => Ext.clone(series.getInitialConfig()));