lib/typed-array-view.js
/**
     * Creates an array view from a given array of numbers.
     *
     * @param {ArrayLike<number>} value
     * @param {TypedArrayView} [array]
     * @returns {TypedArrayView}
     */
Creates an array view from a given array of numbers.
Creates an array view from a given array of numbers .
static from(value, array) {
      const dataArray = array || this.of(value.length);
      const { size } = dataArray;
      for (let i = 0; i < size; i++) {
        dataArray.set(i, value[i]);
      }
      return dataArray;
    }
static from ( value , array ) { const dataArray = array || this . of ( value . length ) ; const { size } = dataArray ; for ( let i = 0 ; i < size ; i ++ ) { dataArray . set ( i , value [ i ] ) ; } return dataArray ; }
Creates an array view from a given array of numbers.
Creates an array view from a given array of numbers .