Importing a function in ES6 can look like this:

1
import {getIndexValue} from './math/FibonacciSequence';