根据位置返回对象

 

 

 var str = 'qwqee';
        for (var i = 0; i < str.length; i++) {
            console.log(str.charCodeAt(i));
        }
q
w
q
e
e
 
posted @ 2020-05-23 10:57  17135131xjt  阅读(143)  评论(0编辑  收藏  举报