Variável de concatenar JavaScript variável de lâmina Laravel Blade

// Imagine the `api.page` route value is `/controller/{page}`:
ajax: "{{ route(api.page) }}".replace("{page}", page);
Adminson