Convert character to ASCII code in JavaScript

"\n".charCodeAt(0);

Leave a Comment

tech