Industries

Discover how businesses in your industry are using Esendex to achieve their communication goals.

Mobile Journeys move customers from A to B in the easiest way possible, increasing  engagement rates in the process. Designed specifically for mobile, customers can be guided through any process – whether that’s making payments, completing a purchase, learning about your products, making appointments or reviewing offers and promotions.

function fibonacciSequence(n) {
  if (n <= 0) {
    return [];
  } else if (n === 1) {
    return [0];
  } else {
    const sequence = [0, 1];
    while (sequence.length < n) {
      const nextNumber = sequence[sequence.length - 1] + sequence[sequence.length - 2];
      sequence.push(nextNumber);
    }
    return sequence;
  }
}

// Example: Output the first 10 Fibonacci numbers
const numberOfTerms = 10;
const fibSequence = fibonacciSequence(numberOfTerms);
console.log(`The first ${numberOfTerms} Fibonacci numbers are: ${fibSequence.join(', ')}`);

Let’s start sending, together.

Insights