Inspect ASCII value
Return the ASCII value of the given input.
Sample Code:
function asciiVal(inp) {
// Enter your logic here...
}
Examples:
Input: 'a'
Output: 97
Explanation: The character code for 'a' is 97.
Input: 0
Output: 48
Explanation: The character code for 0 is 48.