DEV Community

loading...

Discussion on: How do I get the first/last char of a string from a user input (input.value)

morrisjohn profile image
Morris John Author • Edited

Wow, that worked.

I don't even understand the code (*LOL I haven't learnt the 'const / {} => yet *) but yeah it worked.

Thank you very much