Nth Fibonacci Number Leetcode Javascript Solution