Perl Create Empty Array In Javascript Interview