--- id: 5900f3951000cf542c50fea8 challengeType: 5 title: 'Problem 41: Pandigital prime' videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests ```yml tests: - text: '' testString: 'assert(pandigitalPrime(4) == 4231, "pandigitalPrime(4) should return 4231.");' - text: '' testString: 'assert(pandigitalPrime(7) == 7652413, "pandigitalPrime(7) should return 7652413.");' ``` ## Challenge Seed ```js function pandigitalPrime(n) { // Good luck! return n; } pandigitalPrime(7); ``` ## Solution ```js // solution required ```
pandigitalPrime(4)
pandigitalPrime(7)