๐ฃbrackets []
punctuator '[' and ']'.
Last updated
Was this helpful?
punctuator '[' and ']'.
Last updated
Was this helpful?
Was this helpful?
JS โฉ grammar โฉ token โฉ punctuator โฉ bracket []
bracket notation [] - a[1]
.
optional chaining (?., ?.[]) - obj ?. [prop]
.
array literal - [1,2,3]
.