Home >Backend Development >PHP Tutorial >Front-end assembly string problem==
There is a push string loop. How to assemble alert into data in the exact same format as below? Single quotes and commas are all needed
<code>for(var i=0;i<res.data.length;i++) { } </code>
['yellow', 'red', 'orange', 'green', 'blue', 'gray', 'black', 'white']
The front end is so bad