remove(value)

An alias for delete(value) on sets that increases the overlap with the W3C DOMTokenList interface, implemented by classList.

On collections

Usage

  • remove(value)

Related

  • delete(value)

    Deletes the first equivalent value. Returns whether the key was found and successfully deleted.