JSRUN 用代码说话

其他运算符

编辑教程

其他运算符

大多数剩余的运算符,已在示例中使用过:

Operator Name Meaning
() Funtion application Represents a function call
[] List access Refers to the value at the specified index in the list
. member access Refers to a property of an expression; example: foo.bar selects property barfrom expression foo
?. Conditional member access Like ., but the leftmost operand can be null; example: foo?.bar selects property bar from expression foo unless foo is null (in which case the value of foo?.bar is null)
JSRUN闪电教程系统是国内最先开创的教程维护系统, 所有工程师都可以参与共同维护的闪电教程,让知识的积累变得统一完整、自成体系。 大家可以一起参与进共编,让零散的知识点帮助更多的人。
X
支付宝
9.99
无法付款,请点击这里
金额: 0
备注:
转账时请填写正确的金额和备注信息,到账由人工处理,可能需要较长时间
如有疑问请联系QQ:565830900
正在生成二维码, 此过程可能需要15秒钟