how to retrieve array data in javascript in blade laravel code example Example: laravel javascript array from blade var app = @json($array);