gpt4 book ai didi

javascript - 如何反转 String.fromCharCode?

转载 作者:IT王子 更新时间:2023-10-29 03:03:30 45 4
gpt4 key购买 nike

String.fromCharCode(72) 给出 H。如何从 char H 中获取数字 72?

最佳答案

'H'.charCodeAt(0)

关于javascript - 如何反转 String.fromCharCode?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2071602/

45 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com