currently encountered a problem:
it is known that the length of the array is 5, there may be one, two or more values in the array, and the rest of the values want to be filled with "0".
in addition to the methods of the for loop, js has no native methods for arrays to do this.