當前位置:生活全書館 >

關於charcodeat的生活百科

charcodeat js
  • charcodeat js

  • 1、js中charcodeat簡介:charCodeAt()方法返回的是位於指定位置的字元的編碼。charCodeAt()方法可返回指定位置的字元的Unicode編碼。這個返回值是0-65535之間的整數。2、語法:stringObject.charCodeAt(index)3、補充說明:方法charCodeAt()與charAt()方法執行的操作相似,只不...
  • 12089