text: let states = ["Kansas", "Nebraska", "North Dakota", "South Dakota"];
  
  // urls: Imperative version
  function imperativeUrls(elements) {
    let urls = [];
    elements.forEach(function(element) {
      urls.push(element.toLowerCase().split(/\s+/).join("-"));
    });
    return urls;
  }
  console.log(imperativeUrls(states));
  