2
I have been watching a lot people declare arrays the following way
monthShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_')
But I’ve also seen them use it like this:
monthShort : ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez']
So, is there any performance difference? If so, which one? Grateful :)