1 2 3 4 5 6 7 8
const historyPrev = (win) => { win.history.back(); }; const historyNext = (win) => { win.history.forward(); }; export { historyPrev, historyNext };