laravel javascript array from blade code example Example: laravel javascript array from blade var app = @json($array);