How to get the ASCII value of a character in JavaScript

How to get the ASCII value of a character in JavaScript