Validate, defensively copy, and freeze a programmatic localized string using
the same rules as file parsing. Expressions are compiled immediately, so invalid
predicates fail at definition time. The result shares no mutable data with the
input; keys such as __proto__ are treated as ordinary record members.
Validate, defensively copy, and freeze a programmatic localized string using the same rules as file parsing. Expressions are compiled immediately, so invalid predicates fail at definition time. The result shares no mutable data with the input; keys such as
__proto__are treated as ordinary record members.