https://i.sstatic.net/5AdA7.png
One issue I am facing is that when I use console.log(a), it adds extra spaces which then flow through to the backend. This leads to each element breaking after the first one. How can I resolve this problem and why does it occur in the first place?