anonymous top-level constant
_Anonymous
const anonymous
An annotation that indicates a JS
annotated class is structural and does
not have a known JavaScript prototype.
A class marked with anonymous must have an unnamed factory constructor with no positional arguments, only named arguments. Invoking the constructor desugars to creating a JavaScript object literal with name-value pairs corresponding to the parameter names and values.
Implementation
const _Anonymous anonymous = _Anonymous();