...otation) ,这可以使我们通过在属性名标识符之前置入一个句点来引用其对应的属性值;我们还可以使用 括号记法(bracket notation) ,这个方法通过为字符串的属性名标识符围上一个中括号 [ ] 来达到同样的引用属性值的目的。
基于12个网页-相关网页
Well, the bracket notation means you can index into this variable.
好的,这个括号的意思是你可以,索引这个变量。
Well, , the bracket notation means you can index into this variable.
好的,这个括号的意思是你可以,索引这个变量。
Just as you can access data with the dot and bracket notation shown above, you can easily modify data in the same way.
正如可以用点号和括号访问数据,也可以按照同样的方式轻松地修改数据。
Well, the bracket notation means you can index into this variable.
好的,这个括号的意思是你可以,索引这个变量。
Well, turns out that with arrays, not to make this too trippy too soon, but Arg V bracket something is a string, you can also use square bracket notation to go to a specific letter in a string, because little teaser a string is just an array.
好的,结果用那个数组,不要使这个很快引起幻觉,但是Argv什么的,是一个字符串,你也可以用方括号定位到,字符串中的一个特定的字母,因为一个字符串只是一个数组。
应用推荐