Jump to content

Enforced immutability: Difference between revisions

m
Oops, removed duplicate Wren header.
(→‎{{header|Wren}}: Added a supplementary entry)
m (Oops, removed duplicate Wren header.)
Line 1,369:
{{libheader|Wren-trait}}
Since the above entry was written, a ''Const'' class has been added to ''Wren-trait'' which simulates constants to some extent though the values used need themselves to be immutable for this to be water-tight.
=={{header|Wren}}==
<syntaxhighlight lang="ecmascript">import "./trait" for Const
 
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.