let person ={
name:"ayush",
class:12
}
function man(){
}
In case of function man if I write man.proto it gives ƒ () { [native code] }
when I write man.prototype I am getting {constructor: ƒ}
but in case of object person if i wirte person.proto it gives me {constructor: ƒ, defineGetter: ƒ, defineSetter: ƒ, hasOwnProperty: ƒ, lookupGetter: ƒ, …}
when I write person.prototype it gives undefined
Why results varries in case of object and function?