code: function getkey (key) {
      var parsedKey = Number(key)
  
      return (
        isNaN(parsedKey) ||
        key.indexOf('.') !== -1 ||
        opts.object
      ) ? key
        : parsedKey
    }
docs: safely ensure that the key is an integer.