Javascript – Why am I getting a type error in the function?
I am trying to create a palindrome checker in Javascript (freeCodeCamp certification project) but keep getting a type error in the "original" var which means the function doesn't work. I'm not sure what I have missed. function palindrome(input) { var…