docs: function getPrototypeOf (val) {
    var proto
    try {
      proto = Object.getPrototypeOf(val)
    } catch (e) {
      /* eslint-disable */
      proto = val.__proto__
      /* eslint-enable */
    }
    return proto
  }