-
Notifications
You must be signed in to change notification settings - Fork 8
What is the use case of resolvedOptions().message #55
Copy link
Copy link
Closed
Description
i. Perform ! CreateDataPropertyOrThrow(options, p, v).
[[MessageData]] is an Object conforming to the JSON Schema definition of the Unicode MessageFormat 2.0 specification.
where it came from
https://tc39.es/proposal-intl-messageformat/#sec-initializemessageformat
2. Let msgData be ? GetMessageData(source).
and
8. Set messageFormat.[[MessageData]] to msgData.
but why do we need to returnt this parsed JSON object in resolvedOptions()? what is the use case for this ? Why it cannot be just in internal representation or keep it as the input String but need to be return as a JSON object?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels