JavaScript Redirection Laravel Route

window.location.href = "{{ route('show-all-prescription')}}";
Adminson