並前往https://www.tutorialsandyou.com/javascript/how-to-remove-empty-elements-from-an-array-in-javascript-83.html