diff --git a/lib/node_modules/@stdlib/array/bool/lib/main.js b/lib/node_modules/@stdlib/array/bool/lib/main.js index 15660a9da1b7..850f4ed05477 100644 --- a/lib/node_modules/@stdlib/array/bool/lib/main.js +++ b/lib/node_modules/@stdlib/array/bool/lib/main.js @@ -1502,7 +1502,7 @@ setReadOnly( BooleanArray.prototype, 'map', function map( fcn, thisArg ) { throw new TypeError( 'invalid invocation. `this` is not a boolean array.' ); } if ( !isFunction( fcn ) ) { - throw new TypeError( 'invalid argument. First argument must be a function. Value: `%s`.', fcn ); + throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', fcn ) ); } buf = this._buffer; out = new this.constructor( this._length ); diff --git a/lib/node_modules/@stdlib/array/float16/lib/polyfill/index.js b/lib/node_modules/@stdlib/array/float16/lib/polyfill/index.js index 6c4ec43cabae..dfdc361027e7 100644 --- a/lib/node_modules/@stdlib/array/float16/lib/polyfill/index.js +++ b/lib/node_modules/@stdlib/array/float16/lib/polyfill/index.js @@ -1446,7 +1446,7 @@ setReadOnly( Float16Array.prototype, 'map', function map( fcn, thisArg ) { throw new TypeError( 'invalid invocation. `this` is not a floating-point number array.' ); } if ( !isFunction( fcn ) ) { - throw new TypeError( 'invalid argument. First argument must be a function. Value: `%s`.', fcn ); + throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', fcn ) ); } buf = this._buffer; out = new this.constructor( this._length );