put a default value for certain array element with js code example Example: js create array with default value Array(24).fill(0)