Build a Permutation Generator - Build a Permutation Generator

Tell us what’s happening:

Help me understand what I am supposed to do. I am completely blank!

Your code so far

  

function permuteString(string, prefixValue = "", results=[]) {
  
  if (string.length ===  0){
    results.push(prefixValue);
    return results;
  }
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Challenge Information:

Build a Permutation Generator - Build a Permutation Generator
https://www.freecodecamp.org/learn/full-stack-developer/lab-permutation-generator/build-a-permutation-generator

First can you tell us what you believe this lab is about? In your own words, what are to supposed to build in this lab?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.