code: function getPrecedenceList (obj) {
    var precedenceList = []
    var nextObj = obj
    while (nextObj) {
      precedenceList.push(nextObj)
      nextObj = Object.getPrototypeOf(nextObj)
    }
    return precedenceList
  }
docs: /*
  Helper function for getting an array representing the entire
  inheritance/precedence chain for an object by navigating its
  prototype pointers.