Message from JavaScript discussions

September 2020

— Yeah

— 

Object name is the name of the constructor function, ppl check against it, if it's correct object - instanceof

— It's a one way relationship from parent -> child, the child never knows the identity of its parent

— I've made FetchError object based on Error so i can instanceof both objects to check if it's Error or it's a FetchError

Message permanent page

— Ancestor was the key here lol

— You're missing the point hard

— Ancestor means prototype (in JS)

— No

— Otherwise it's a data structure, so this Q is not legible, like you have obj.parent.name

— Now you're getting closer

— But he wants to get the name of the parent, but he only has the child obj

— Again, you are not the Q origin here, why you decide im right or wrong🤤