-- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection.item Mozilla HTMLCollection.item documentation> 
itemUnsafe ::
           (MonadDOM m, IsHTMLCollection self, HasCallStack) =>
             self -> Word -> m Element
itemUnsafe self index
  = liftDOM
      ((((toHTMLCollection self) ^. jsf "item" [toJSVal index]) >>=
          fromJSVal)
         >>= maybe (Prelude.error "Nothing to return") return)
itemUnsafe ::
           (MonadDOM m, IsHTMLCollection self, HasCallStack) =>
             self -> Word -> m Element
itemUnsafe self index
  = liftDOM
      ((((toHTMLCollection self) ^. jsf "item" [toJSVal index]) >>=
          fromJSVal)
         >>= maybe (Prelude.error "Nothing to return") return)
itemUnsafe self index
  = liftDOM
      ((((toHTMLCollection self) ^. jsf "item" [toJSVal index]) >>=
          fromJSVal)
         >>= maybe (Prelude.error "Nothing to return") return)