Skip to content

Commit db42f93

Browse files
committed
[fix]: resolve editorconfig lint errors
1 parent ce3fc95 commit db42f93

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/utils/get-prototype-of/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/utils/get-prototype-of/lib/polyfill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function getPrototypeOf( obj ) {
4343
// May break if the constructor has been tampered with...
4444
return obj.constructor.prototype;
4545
}
46-
if ( Object.prototype.isPrototypeOf.call(obj) ) {
46+
if ( Object.prototype.isPrototypeOf.call( Object.prototype, obj ) ) {
4747
return Object.prototype;
4848
}
4949
// Return `null` for objects created via `Object.create( null )`. Also return `null` for cross-realm objects on browsers that lack `__proto__` support, such as IE < 11.

0 commit comments

Comments
 (0)