Factorions: Difference between revisions

Content deleted Content added
Laurence (talk | contribs)
PureFox (talk | contribs)
m →‎{{header|Wren}}: Changed to Wren S/H
 
Line 1,968: Line 1,968:
=={{header|Wren}}==
=={{header|Wren}}==
{{trans|C}}
{{trans|C}}
<syntaxhighlight lang="ecmascript">// cache factorials from 0 to 11
<syntaxhighlight lang="wren">// cache factorials from 0 to 11
var fact = List.filled(12, 0)
var fact = List.filled(12, 0)
fact[0] = 1
fact[0] = 1