Pass a laravel variable into a jquery array

I am trying to pass a variable into a jquery autocomplete script check this url (https://jsfiddle.net/duoc5bbh/1/) I found.

Laravel

@foreach($data as $value)
   {{ $value-> email }}
   {{ $value-> name }}
@endforeach

Jquery

$(function() {
  let users = [{
      "email": "[email protected]",
      "name": "marie"
      }, 
      {
       "email": "[email protected]",
       "name": "miss"
     }];
});

what I did

$(function() {
  let users = [{
      "email": {{ $value-> email }},
      "name": {{ $value-> name }}
      }];
});

I am new in using laravel with jquery I need your help in this Thanks.