Podaj tablica z kontrolera do JavaScript Blade

var array = @json($arrayFromController)
nanaseous