Fibonacci - GoldenScheme - Scheme on JavaScript

Result:

Source:
(begin
	(define (fib n)
		(if (< n 2) 
			1
			(+ (fib (- n 1)) (fib (- n 2)))
		)
	)
	(fib 10)
)
Home