运营商之间的表达? [英] Operators between expression ?

查看:89
本文介绍了运营商之间的表达?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我是Javascript的新手,我有这段代码,我试图理解。

i know charCodeAt有默认参数(0),我知道这个函数

返回指定索引中字符的代码。

但为什么表达式之间没有运算符?





var someCheck $ = StrA [((charCodeAt))。toString()](StrA [((charCodeAt )。toString()](0x00)%StrA [((length))。toString()])%A;

解决方案

= StrA [( (charCodeAt))。toString()](StrA [((charCodeAt))。toString()](0x00)%StrA [((length))。toString()])%A;

Hi guys

I''m new to Javascript and i have this piece of code that i try to understand.
i know that charCodeAt has default parameter (0) and i understand that this function
return the code of the character in the specified index.
but why there is no operators between the expression ?


var someCheck$ = StrA[(("charCodeAt")).toString()](StrA[(("charCodeAt")).toString()](0x00) % StrA[(("length")).toString()]) % A;

解决方案

= StrA[(("charCodeAt")).toString()](StrA[(("charCodeAt")).toString()](0x00) % StrA[(("length")).toString()]) % A;


这篇关于运营商之间的表达?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆