Code not passing but outputs correction answer

Code not passing but outputs correction answer
0

#1

https://learn.freecodecamp.org/coding-interview-prep/project-euler/problem-4-largest-palindrome-product

Not passing this test but my code does out this number: largestPalindromeProduct(3) should return 906609.

function largestPalindromeProduct(n) {
  let largestPalindrome = 0;  //tracker

  //get starting and ending numbers of n-digit numbers
  let lowest = "1";
  while (n > 1) {
    lowest += "0";
    n--;
  }
  let largest = parseInt(lowest + "0") - 1;
  lowest = parseInt(lowest);

  for (let i = lowest; i < largest; i++) {
    for (let j = lowest + 1; j <= largest; j++) {
      let number = i * j;
      if (number == number.toString().split("").reverse().join("") ) {
        if (number > largestPalindrome) {
          largestPalindrome = number;
        }
      }
    }
  }
  return largestPalindrome;
}

largestPalindromeProduct(3);