Una
The functional programming language
JavaScript compatible
Use any npm package
Works with React and React Native
Try it out in the interactive REPL console!
Una
JavaScript
const fibonacci = index =>
index > 1
? fibonacci(index - 1) +
fibonacci(index - 2)
: index
fibonacci(10)
Result
55