What's the difference between Object.prototype.toString and Object.toString?

when judging the parameter type today, we found that
Object.prototype.toString.call (param) can, and
Object.toString.call (param) cannot.
the error message is
Function.prototype.toString requires that "this" be a Function.
but the output of the two functions on the console should look the same. Excuse me, why is this?
clipboard.png

Mar.19,2021

Object constructor itself does not have a toString method.
according to the prototype chain relationship, the upstream prototype chain of the Object constructor is Function.prototype .
so, when you call Object.toString.call (param) , you essentially call Function.prototype.toString.call (param) . The parameter type required here is function , and you pass the object , so you will report an error.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ab83-2c264.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ab83-2c264.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?