Create an object/Native demonstration: Difference between revisions

Content added Content deleted
(Dialects of BASIC moved to the BASIC section.)
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
Line 1,406: Line 1,406:


=={{header|Wren}}==
=={{header|Wren}}==
<syntaxhighlight lang="ecmascript">class FixedSizeMap {
<syntaxhighlight lang="wren">class FixedSizeMap {
construct new(map) {
construct new(map) {
// copy the map so it cannot be mutated from the original reference
// copy the map so it cannot be mutated from the original reference