@@ -608,8 +608,8 @@ function factory( dtype ) { // eslint-disable-line max-lines-per-function, stdli
608608 fcn . call ( thisArg , buf [ GETTER ] ( i * BYTES_PER_ELEMENT , this . _isLE ) , i , this ) ;
609609 }
610610 } ) ;
611-
612- / *
611+
612+ /* *
613613 * Returns a new array containing the elements of an array which pass a test implemented by a predicate function.
614614 *
615615 * @name filter
@@ -626,24 +626,24 @@ function factory( dtype ) { // eslint-disable-line max-lines-per-function, stdli
626626 var out ;
627627 var i ;
628628 var v ;
629- if ( ! isTypedArray ( this ) ) {
629+ if ( ! isTypedArray ( this ) ) {
630630 throw new TypeError ( format ( 'invalid invocation. `this` is not %s %s.' , CHAR2ARTICLE [ dtype [ 0 ] ] , CTOR_NAME ) ) ;
631631 }
632632 if ( ! isFunction ( predicate ) ) {
633633 throw new TypeError ( format ( 'invalid argument. First argument must be a function. Value: `%s`.' , predicate ) ) ;
634634 }
635635 buf = this . _buffer ;
636- out = [ ] ;
636+ out = [ ] ;
637637 for ( i = 0 ; i < this . _length ; i ++ ) {
638638 v = buf [ GETTER ] ( i * BYTES_PER_ELEMENT , this . _isLE ) ;
639639 if ( predicate . call ( thisArg , v , i , this ) ) {
640640 out . push ( v ) ;
641641 }
642642 }
643643 return new this . constructor ( flag2byteOrder ( this . _isLE ) , out ) ;
644- } ) ;
645-
646- /**
644+ } ) ;
645+
646+ /**
647647 * Returns the index of the last element in an array for which a predicate function returns a truthy value.
648648 *
649649 * @name findLastIndex
@@ -673,7 +673,7 @@ function factory( dtype ) { // eslint-disable-line max-lines-per-function, stdli
673673 }
674674 }
675675 return - 1 ;
676- } ) ;
676+ } ) ;
677677
678678 /**
679679 * Returns an array element.
0 commit comments