Javascript quick array declaration
- by portoalet
Is there a Javascript equivalen of Perl's qw() method to quickly create arrays ?
i.e.
in Perl @myarray = qw / one two three /;
in Javascript var myarray = ('one', 'two', 'three' ); // any alternative??