Encodes a language map as language-tagged or plain literals.
By convention the und (undetermined) tag yields a plain Typed literal; every other tag yields a language-Tagged literal.
und
The tag-to-content map(s) to encode
The encoded tagged and plain literals
RangeError On a content string holding an isolated UTF-16 surrogate code point, or on a key that is not a well-formed BCP 47 language tag
Encodes a language map as language-tagged or plain literals.
By convention the
und(undetermined) tag yields a plain Typed literal; every other tag yields a language-Tagged literal.