A Pen by Yerlin Matu on CodePen.
Last active
June 11, 2017 23:21
-
-
Save YerlinMatu/b326b7b8a690b4fae1ba5e53b4df377f to your computer and use it in GitHub Desktop.
Ascii - potencial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button onclick="Hola()">Dame</button> | |
<div id="demo"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function PotencialesAscii() { | |
var remplazos = ['¹','²','³','⁴','⁵','⁶','⁷','⁸','⁹']; | |
for(let item = 0; item<remplazos.length; item++){ | |
document.write(remplazos[item].charCodeAt(0)+'<br>'); | |
} | |
} | |
PotencialesAscii(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Convert number exponentials in char acsii...