Pascal's triangle: Difference between revisions

Content added Content deleted
(→‎JS ES5 Functional: Updated primitives)
Line 2,288: Line 2,288:


=={{header|JavaScript}}==
=={{header|JavaScript}}==

===ES5===
===ES5===
====Imperative====
====Imperative====

{{works with|SpiderMonkey}}
{{works with|SpiderMonkey}}
{{works with|V8}}
{{works with|V8}}
Line 2,378: Line 2,376:
1 5 a a 5 1
1 5 a a 5 1
1 6 f 14 f 6 1
1 6 f 14 f 6 1
1 7 15 23 23 15 7 1
1 7 15 23 23 15 7 1</pre>
</pre>



====Functional====
====Functional====