Firefox Tomorrow

web api instance method

SpeechGrammarList: item() method

View on MDN ↗

The item getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax.

Syntax

item(index)

Parameters

  • index
    • : Index of the item to retrieve.

Return value

A SpeechGrammar object.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also