Skip to main content

Una

The functional programming language

JavaScript compatible
JavaScript compatible
Use any npm package
Use any npm package
Works with React and React Native
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