I was messing around with Google JavaScript code, and I saw in my code that they define an array in different ways.
What is so unique about writing an array?
var arr = (['b' , 'f' , 's']);
why "(") in this code, it can be both of these:
var arr = ['b' , 'f' , 's'];
Thanks in advance.
source
share