__proto__ is deprecated, using Object.getPrototypeOf instead; fixed a linting bug