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
Object.getPrototypeOf(val). Yeah