how can I convert that php array to a javascript array : <p>how can I convert that php array to a javascript array, please help</p>

<p><a href="https://i.stack.imgur.com/YWdjS.png" rel="nofollow noreferrer">enter image description here</a></p>
