Skip to content

Tag: arrays

fleissner grille javascript

Can I use a function that allows me to get the hidden message? If so, could you enlighten me, how can I do it? Using fleissner grille 6 x 6, decipher the hidden message: “lróaon. sg sdersoildsu.:.cc kiomamii”. For this, it must be rotated 90° clockwise. The open grids are at positions [1,1],[4,1],…

Comparing length of strings in an array?

Hi I’m trying to compare the length of each word in a sentence. I converted this sentence into an array but then I’m lost in my codes. I tried 2 methods – for loop and reduce(), but neither worked. What happened in my code? Reduce() => This one gave me undefined when I try to run the func…