Firefox Tomorrow

web api instance property

NDEFRecord: lang property

View on MDN ↗

Secure contextLimited availability

The lang property of the NDEFRecord interface returns the language of a textual payload, or null if one was not supplied.

The record might be missing a language tag, for example, if the recorded information is not locale-specific.

Value

A string.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also