Skip to content

Commit 49047b4

Browse files
committed
.at not supported
1 parent 34f23e6 commit 49047b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/sort_traces.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function matrixToObjectList(matrix, cols) {
2727
cols.forEach(function(col, idx) {
2828
objRow[col] = row[idx];
2929
});
30-
objRow.y = row.at(-1);
30+
objRow.y = row[row.length - 1];
3131
objList.push(objRow);
3232
});
3333
return objList;

0 commit comments

Comments
 (0)