Code inside while loop not being executed JavaScript
问题 I am working with this while loop and it is not working. I decided to use the Google Chrome debugger and I saw that the code inside is not being executed. All the time it checks the condition, starts the first line of the code inside, and goes back again to check the condition. It is a NodeJS server and I am using the Spotify API. app.get('/process', ensureAuthenticated, function (req, res) { let init_array = text.split(" "); let modtext = init_array; while (init_array.length != 0) {