$(function () {
    const menu = $('.js-menu');
    const menuButton = $('.js-menu-toggle', menu);

    menuButton.on('click', (e) => {
        menu.toggleClass('is-open');
    })
});
$(function () {
    const menu = $('.js-menu');
    const menuButton = $('.js-menu-toggle', menu);

    menuButton.on('click', function(e) {
        menu.toggleClass('is-open');
    })
});
Remove arrow functon, causes precompile error on prod.
Remove arrow functon, causes precompile error on prod.
