Hopefully this hasn't killed anything

I've only done the ones that are self-explanatory since I can't check if I'm right
You've used this wrong. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf. 'getPrototypeOf' is a static of 'Object'. It accepts one argument, that is the object to get the prototype of.