//Gettimg the last character of an unknown string;
//using function Expression;
const gettingLastChar = function(userInput){
return userInput.substring(userInput.length -1);
//for Debugging;
let letsDebug = `${userInput.substring(userInput.length -1)}`;
console.log(letsDebug);
}