Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
var Buffer = require( '@stdlib/buffer/ctor' );
var Symbol = require( '@stdlib/symbol/ctor' );
var constructorName = require( './../lib' );

Check failure on line 39 in lib/node_modules/@stdlib/utils/constructor-name/examples/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Displayed return value is `'String'`, but expected `undefined` instead
function noop() {
// Do nothing...
}
Expand Down Expand Up @@ -148,7 +148,7 @@
console.log( constructorName( new ArrayBuffer() ) );
// => 'ArrayBuffer'

console.log( constructorName( new Buffer( 'beep' ) ) ); // eslint-disable-line no-buffer-constructor
console.log( constructorName( new Buffer( 'beep' ) ) );
// => 'Buffer'

console.log( constructorName( Math ) );
Expand Down
Loading