作者:左莹薇_834 | 来源:互联网 | 2024-10-16 17:43
本文由编程笔记#小编为大家整理,主要介绍了markdown AERandomChar.md相关的知识,希望对你有一定的参考价值。
[![Image from Gyazo](https://i.gyazo.com/922ca999f36656df4619bc449c54cde9.gif)](https://gyazo.com/922ca999f36656df4619bc449c54cde9)
```
sum = "";
for (var i=1; i <= 10; i++) {
chCode = Math.round(random(97,122));
sum += String.fromCharCode(chCode);
}
```
10進数ASCII code¥に対応
https://www.w3schools.com/charsets/ref_html_ascii.asp