src/utils/number.js
function zeros (length) {
  const arr = []
  for (let i = 0; i < length; i++) {
    arr.push(0)
  }
  return arr
}
function zeros (length) {
  const arr = []
  for (let i = 0; i < length; i++) {
    arr.push(0)
  }
  return arr
}
function zeros ( length ) { const arr = [ ] for ( let i = 0 ; i < length ; i ++ ) { arr . push ( 0 ) } return arr }
Create an array filled with zeros.
@param {number} length
@return {Array}
Create an array filled with zeros .