Variable Laravel dans JavaScript

<script>    
    var data = {!! json_encode($data, JSON_HEX_TAG) !!};
</script>
Charming Capuchin