ES6 has class side inheritance.

```js
C.__proto__ === Function.prototype
Function.prototype.__proto__ === Object.prototype
```

and `hasOwnProperty` is a property of `Object.prototype`. So `C.m()` more or less does `Object.prototype.hasOwnProperty.call(C, 'm')`