Multiple distinct objects: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,467: Line 1,467:


=={{header|Wren}}==
=={{header|Wren}}==
<syntaxhighlight lang="ecmascript">class Foo {
<syntaxhighlight lang="wren">class Foo {
static init() { __count = 0 } // set object counter to zero
static init() { __count = 0 } // set object counter to zero