I am trying to understand how to implement the map method (rather than using a for loop) to check a string for palindromes and return boolean values for whether the mapped a
try something like this:
let str = 'hello'; let tab = [...str]; tab.map((x)=> { console.log("|"+x+"|"); return x; })