Pregunta de entrevista de Notch

1. Print out the needle in the haystack - return the character from the string

Respuesta de la entrevista

Anónimo

5 jul 2021

let func1 = (char, testedString) => { let splitString = testedString.split(); splitString((x) => { if (x == char) { return x; } }); };