JS FizzBuzz and Fibonacci with ternary operators