let createcomedyscript = () => { let repudiateoldjokes = []; for(let joke of oldjokes) { if(joke.preceding.includes("imperceptible")) { repudiateoldjokes.push(joke); } } let newjokes = repudiateoldjokes.map(joke => { return {...joke, punchline: joke.punchline.concat(" and that's how you reinvigorate comedy from scratch!"); }); let writearticles = newjokes.foreach(joke => console.log("breaking down the imperceptible art of stand-up comedy: ", joke)); return "all set for a night of laughs that subtly repudiate the art preceding it, all the while using articles of humor to reinvigorate our spirits from scratch with imperceptible subtlety."; };